=4): $IE4=true; $HAVE_STYLE = true; elseif($ver==3): $IE3=true; endif; elseif (ereg("Mozilla/([0-9]+)",$HTTP_USER_AGENT,$version)): $ver=(int)$version[1]; if ($ver>=4): $NS4=true; $HAVE_STYLE=true; elseif($ver==3): $NS3=true; endif; endif; if (strstr($HTTP_USER_AGENT,"Opera")): # $DISABLE_KICKOUTS = true; $HAVE_STYLE=true; $NS4=true; endif; if (strstr($HTTP_USER_AGENT,"X11")): $X11 = true; endif; if (strstr($HTTP_USER_AGENT,"htdig")): $HTDIG = true; endif; /* Base variables */ $FONTFACE = "tahoma, verdana, arial, helvetica, sans-serif"; $FRAMEMODE = "standard"; $FONTFACEATTR = " FACE=\"$FONTFACE\""; /* Base functions */ function preloadImages() { global $FRAMEMODE; ?> b_close0 = new Image(); b_close0.src = "/gifs/b-close-p.gif"; b_close1 = new Image(); b_close1.src = "/gifs/b-close-c.gif"; b_cred0 = new Image(); b_cred0.src = "/gifs/b-credits-p.gif"; b_cred1 = new Image(); b_cred1.src = "/gifs/b-credits-c.gif"; b_top0 = new Image(); b_top0.src = "/gifs/b-top-p.gif"; b_top1 = new Image(); b_top1.src = "/gifs/b-top-c.gif"; b_sear0 = new Image(); b_sear0.src = "/gifs/b-search-p.gif"; b_sear1 = new Image(); b_sear1.src = "/gifs/b-search-c.gif"; b_sour0 = new Image(); b_sour0.src = "/gifs/b-source-p.gif"; b_sour1 = new Image(); b_sour1.src = "/gifs/b-source-c.gif"; b_proj0 = new Image(); b_proj0.src = "/gifs/b-projects-p.gif"; b_proj1 = new Image(); b_proj1.src = "/gifs/b-projects-c.gif"; b_mirr0 = new Image(); b_mirr0.src = "/gifs/b-mirror-p.gif"; b_mirr1 = new Image(); b_mirr1.src = "/gifs/b-mirror-c.gif"; b_next0 = new Image(); b_next0.src = "/gifs/b-next-p.gif"; b_next1 = new Image(); b_next1.src = "/gifs/b-next-c.gif"; b_prev0 = new Image(); b_prev0.src = "/gifs/b-prev-p.gif"; b_prev1 = new Image(); b_prev1.src = "/gifs/b-prev-c.gif"; b_next20 = new Image(); b_next20.src = "/gifs/b-next-p.gif"; b_next21 = new Image(); b_next21.src = "/gifs/b-next-c.gif"; b_prev20 = new Image(); b_prev20.src = "/gifs/b-prev-p.gif"; b_prev21 = new Image(); b_prev21.src = "/gifs/b-prev-c.gif"; b_qref0 = new Image(); b_qref0.src = "/gifs/b-quickref-p.gif"; b_qref1 = new Image(); b_qref1.src = "/gifs/b-quickref-c.gif"; b_stat0 = new Image(); b_stat0.src = "/gifs/b-stats-p.gif"; b_stat1 = new Image(); b_stat1.src = "/gifs/b-stats-c.gif"; b_cont0 = new Image(); b_cont0.src = "/gifs/b-contents-p.gif"; b_cont1 = new Image(); b_cont1.src = "/gifs/b-contents-c.gif"; b_up0 = new Image(); b_up0.src = "/gifs/b-up-p.gif"; b_up1 = new Image(); b_up1.src = "/gifs/b-up-c.gif"; b_addnote0 = new Image(); b_addnote0.src = "/gifs/b-addnote-p.gif"; b_addnote1 = new Image(); b_addnote1.src = "/gifs/b-addnote-c.gif"; b_abnote0 = new Image(); b_abnote0.src = "/gifs/b-about-p.gif"; b_abnote1 = new Image(); b_abnote1.src = "/gifs/b-about-c.gif"; b_bullet0 = new Image(); b_bullet0.src = "/gifs/b-bullet-p.gif"; b_bullet1 = new Image(); b_bullet1.src = "/gifs/b-bullet-c.gif"; b_bullet2 = new Image(); b_bullet2.src = "/gifs/b-bullet-w.gif"; b_down0 = new Image(); b_down0.src = "/gifs/b-downloads-p.gif"; b_down1 = new Image(); b_down1.src = "/gifs/b-downloads-c.gif"; b_docs0 = new Image(); b_docs0.src = "/gifs/b-docs-p.gif"; b_docs1 = new Image(); b_docs1.src = "/gifs/b-docs-c.gif"; b_mail0 = new Image(); b_mail0.src = "/gifs/b-mailing-p.gif"; b_mail1 = new Image(); b_mail1.src = "/gifs/b-mailing-c.gif"; b_dev0 = new Image(); b_dev0.src = "/gifs/b-development-p.gif"; b_dev1 = new Image(); b_dev1.src = "/gifs/b-development-c.gif"; b_news0 = new Image(); b_news0.src = "/gifs/b-news-p.gif"; b_news1 = new Image(); b_news1.src = "/gifs/b-news-c.gif"; b_link0 = new Image(); b_link0.src = "/gifs/b-links-p.gif"; b_link1 = new Image(); b_link1.src = "/gifs/b-links-c.gif"; "; } function kickHeader($offset,$side,$width) { global $FONTFACEATTR; $off=abs($offset); $innerwidth=$width-40; $innerwidth2=$innerwidth+21; $tablewidth=$width; if ($side=="left"): $tablewidth=$tablewidth+50; endif; if ($side=="none"): $tablewidth=$tablewidth+1; endif; echo "\n"; if ($side=="left" || $side=="none"): echo "\n"; if ($offset>=0): if ($side=="left"): echo "\n"; else: echo "\n"; endif; else: echo "\n"; endif; else: if ($offset>=0): echo "\n\n"; else: echo "\n\n"; endif; echo "\n"; endif; echo "\n"; echo "\n\n"; echo "\n"; echo "\n\n\n\n\n\n"; echo "\n"; echo "\n\n"; echo "\n
"; spc(1,$off); echo "

"; spc(1,1); echo "

"; spc(1,$off); echo "
"; spc($off,1); echo "
"; spc($off,1); echo "

"; spc(1,10); echo "

"; spc(9,1); echo "
\n"; } function kickFooter($kickname,$buttname,$width) { $innerwidth=$width-40; $innerwidth2=$innerwidth+21; echo ""; echo "\"Close
"; echo "
"; spc(10,1); echo "

"; spc(1,10); echo "

\n"; } function download_link($file, $title) { global $filesizes; if ($tmp = strrchr($file, "/")) { $local_file = substr($tmp, 1, strlen($tmp)); } else { $file = "distributions/$file"; $local_file = $file; } echo("$title"); $size = @filesize($local_file)/1024; echo("\n"); if ($size) { printf(" (%dKB)", $size); } elseif (isset($filesizes[$local_file])) { echo " (".$filesizes[$local_file].")"; } } function gifurl($img) { global $root_url; return $root_url . "/gifs/" . $img; } function jpgurl($img) { global $root_url; return $root_url . "/jpgs/" . $img; } function makeSideButton($url,$button,$kick,$gif,$width,$height,$vspace,$hspace,$alt,$br) { if ($url): echo ""; else: echo "\" \n onMouseout=\"hide();\">"; endif; endif; echo "\"$alt\""; if ($url): echo ""; endif; echo $br; } function commonHeader($title) { global $NS4, $NS3, $IE3, $IE4, $X11, $FRAMEMODE, $FONTFACEATTR, $HTDIG; global $PHP_SELF, $HTTP_REFERER, $FONTFACE, $COUNTRIES, $MIRRORS, $MYSITE; global $HAVE_STYLE,$HAVE_SEARCH; global $NEXT, $PREV, $UP, $HOME, $TOC; global $DISABLE_KICKOUTS, $DOCUMENT_ROOT; $HAVE_SEARCH=$MIRRORS[$MYSITE][5]; Header("Vary: User-Agent"); if(substr(dirname($PHP_SELF),-2)=='ja') Header("Content-Type: text/html; charset=utf-8"); else Header("Content-Type: text/html; charset=iso-8859-1"); ?> PHP: <? echo $title;?> >

" ALT="PHP Home Page" BORDER=0>

\n"); if ($UP[0] && $UP[1]): makeSideButton($UP[0],"up","","up",129,30,0,10,"Up to $UP[1]","
\n"); endif; makeSideButton("/quickref.php","qref","qrefKick","quickref",129,30,0,10,"Quick Reference","
\n"); if (!$HTDIG): makeBorderTOC($title); endif; else: $lastnews=filemtime($DOCUMENT_ROOT."/news.php"); if ($lastnews): $lastnews="PHP News last updated: ".date("M d, Y",$lastnews); else: $lastnews="PHP in the News"; endif; makeSideButton("/downloads.php","down","","downloads",129,30,0,10,"Downloads","
\n"); makeSideButton("/docs.php","docs","","docs",129,30,0,10,"Documentation","
\n"); makeSideButton("/quickref.php","qref","qrefKick","quickref",129,30,0,10,"Quick Reference","
\n"); makeSideButton("/support.php","dev","","development",129,30,0,10,"Getting Help","
\n"); makeSideButton("/news.php","news","","news",129,30,0,10,$lastnews,"
\n"); makeSideButton("/projects.php","proj","","projects",129,30,0,10,"Projects using PHP","
\n"); makeSideButton("/links.php","link","","links",129,30,0,10,"PHP Links","
\n"); makeSideButton("/mirrors.php","mirr","mirrorsKick","mirror",129,30,0,10,"Mirror sites","
\n"); endif; ?>

  Thanks to:
 Chek.com
 easyDNS
 VA Linux Systems

  Related sites:
Apache
MySQL
PostgreSQL
Zend Tech.

  Community:
LinuxFund.org
OSDN
$title
\n"; ?>


>
','

','

'); reset($fixes); while (list(,$f)=each($fixes)) { $text=str_replace(htmlspecialchars($f), $f, $text); $text=str_replace(htmlspecialchars(strtoupper($f)), $f, $text); } $text = "".nl2br($text).""; return $text; } function commonFooter() { global $NS4, $NS3, $IE3, $IE4, $X11, $HAVE_STYLE, $FRAMEMODE, $FONTFACEATTR, $HTTP_USER_AGENT, $HTDIG; global $MIRRORS, $MYSITE, $COUNTRIES; global $NEXT, $PREV, $UP, $HOME, $TOC; global $DISABLE_KICKOUTS, $DOCUMENT_ROOT; $country=$MIRRORS[$MYSITE][0]; $HAVE_SEARCH=$MIRRORS[$MYSITE][5]; ?>
\n"; if (file_exists($DOCUMENT_ROOT."/stats/index.php")): makeSideButton("/stats/index.php","stat","","stats",129,30,0,10,"Site Statistics","
\n"); endif; ?>

\n"; makeSideButton("/credits.php","cred","","credits",129,30,0,10,"Who's responsible for this?","
\n"); makeSideButton("#tOpOfpAgE","top","","top",129,30,0,10,"Top of this page","
\n"); ?>
SIZE=1> Site
Hosting:



\n"; echo "Located in
".$COUNTRIES[$country]; endif; ?>
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.