require("shared.inc");
$current = "3.0RC4";
$win32_current = "3.0RC4";
$filesizes["php-3.0RC4.tar.gz"]="~ 960KB";
$filesizes["php-3.0RC4-win32.exe"]="~ 1090KB";
function makeCap() {
GLOBAL $MIRRORS;
?>

|
$mirror_sites=$MIRRORS;
$count=0;
$lastc="";
reset($mirror_sites);
while ($site = key($mirror_sites)) {
$info = $mirror_sites[$site];
next($mirror_sites);
$c = $info[0];
if ($c == $lastc || $c == 'xx') {
continue;
}
$count++;
echo " ";
if ($count%5==0) {
echo " \n";
}
$lastc = $c;
}
?>
|

|

|

|
};
commonHeader("Download PHP Engine");
?>
Pick a mirror site close to you:
(all mirrors are updated at least every hour)
makeCap();
$mirror_sites=$MIRRORS;
$lastcountry="xxxxx";
reset($mirror_sites);
while ($site = key($mirror_sites)) {
$info = $mirror_sites[$site];
next($mirror_sites);
list($country, $location, $shortname, $companyurl, $show) = $info;
if (!$show) {
continue;
}
if (eregi("^http://",$site)) {
$method="HTTP";
$srcdir="distributions/";
} elseif (eregi("^ftp://",$site)) {
$method="FTP";
$srcdir="";
} else {
$method="unknown";
}
if ($lastcountry!=$country) {
echo "
|
|
|
\n";
echo "\n";
echo " | \n";
echo "";
echo " ";
echo "
| \n";
echo "";
echo "$COUNTRIES[$country]
| \n";
echo "
| \n";
echo "
\n";
$lastcountry=$country;
}
echo "";
spc(75,1);
echo "
| \n";
echo "\n";
echo "\n";
if ((!isset($lastlocation))||($lastlocation!=$location)) {
echo("$location \n");
$lastlocation=$location;
}
echo "\n";
$src_file = "${site}${srcdir}php-${current}.tar.gz";
$win32_file = "${site}${srcdir}php-${win32_current}-win32.exe";
if (eregi("caraveo",$site)) { # special case ;-)
echo("- ");
download_link("${site}/php3latest.zip","Latest patched Windows version");
echo "\n";
} else {
echo "
- ";
download_link($src_file, "($method) PHP $current source");
echo "\n";
echo "
- ";
download_link($win32_file, "($method) $win32_current Win32 binary");
echo "\n";
}
echo("
\n | |
\n");
}
?>
|
|
|
makeCap(); ?>
commonFooter();
?>