|
16 | 16 | You still need to configure (step 4 of the installation instructions)
|
17 | 17 |
|
18 | 18 |
|
| 19 | +<h2>Linux 64 bit</h2><br> |
| 20 | +<?php |
| 21 | +$dir = "http://eclipse.baeyens.it/download/product"; |
| 22 | +$dh = opendir("download/product"); |
| 23 | +while ($f = readdir($dh)) { |
| 24 | + $fullpath = $dir."/".$f; |
| 25 | + if ($f{0} == "." || is_dir($fullpath)) continue; |
| 26 | + if (substr($f,0,18)=="linux64.") |
| 27 | + { |
| 28 | + echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>"; |
| 29 | + } |
| 30 | +} |
| 31 | +closedir($dh); |
| 32 | +?> |
| 33 | + |
19 | 34 | <h2>Linux 32 bit</h2><br>
|
20 | 35 | <?php
|
21 | 36 | $dir = "http://eclipse.baeyens.it/download/product";
|
22 | 37 | $dh = opendir("download/product");
|
23 | 38 | while ($f = readdir($dh)) {
|
24 | 39 | $fullpath = $dir."/".$f;
|
25 | 40 | if ($f{0} == "." || is_dir($fullpath)) continue;
|
26 |
| - if (substr($f,0,18)=="linux.gtk.x86.opt.") |
| 41 | + if (substr($f,0,18)=="linux32.") |
| 42 | + { |
| 43 | + echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>"; |
| 44 | + } |
| 45 | +} |
| 46 | +closedir($dh); |
| 47 | +?> |
| 48 | +<h2>win 64 bit</h2> |
| 49 | +<?php |
| 50 | +$dir = "http://eclipse.baeyens.it/download/product"; |
| 51 | +$dh = opendir("download/product"); |
| 52 | +while ($f = readdir($dh)) { |
| 53 | + $fullpath = $dir."/".$f; |
| 54 | + if ($f{0} == "." || is_dir($fullpath)) continue; |
| 55 | + if (substr($f,0,10)=="win64.") |
27 | 56 | {
|
28 | 57 | echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>";
|
29 | 58 | }
|
|
37 | 66 | while ($f = readdir($dh)) {
|
38 | 67 | $fullpath = $dir."/".$f;
|
39 | 68 | if ($f{0} == "." || is_dir($fullpath)) continue;
|
40 |
| - if (substr($f,0,10)=="win32.x86.") |
| 69 | + if (substr($f,0,10)=="win32") |
| 70 | + { |
| 71 | + echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>"; |
| 72 | + } |
| 73 | +} |
| 74 | +closedir($dh); |
| 75 | +?> |
| 76 | +<h2>MAC 64 bit</h2> |
| 77 | +<?php |
| 78 | +$dir = "http://eclipse.baeyens.it/download/product"; |
| 79 | +$dh = opendir("download/product"); |
| 80 | +while ($f = readdir($dh)) { |
| 81 | + $fullpath = $dir."/".$f; |
| 82 | + if ($f{0} == "." || is_dir($fullpath)) continue; |
| 83 | + if (substr($f,0,10)=="mac64") |
41 | 84 | {
|
42 | 85 | echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>";
|
43 | 86 | }
|
44 | 87 | }
|
45 | 88 | closedir($dh);
|
46 | 89 | ?>
|
47 |
| - |
48 | 90 | <br>
|
49 | 91 | </body>
|
50 | 92 | </html>
|
|
0 commit comments