1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Just a technical patch (hope it wont brake anything)

Useing <?php standard open tags instead of the
shorter one

At least trying to be short_tags off compatible.

more to come...
This commit is contained in:
Gabor Hojtsy
2001-07-01 09:55:13 +00:00
parent 8d8d0016d4
commit 32d0d331b3
32 changed files with 270 additions and 296 deletions

40
FAQ.php
View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Frequently Asked Questions");
?>
@@ -18,7 +18,7 @@ If you have suggestions, corrections or additions, send them to
<a href="mailto:phpdoc@lists.php.net">phpdoc@lists.php.net</a>.
-->
<p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<ul>
<li><b><a href="#1">1. General Information</a></b>
@@ -122,7 +122,7 @@ If you have suggestions, corrections or additions, send them to
</ul>
</ul>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="1">
<h2>1. General Information</h2>
</a>
@@ -152,7 +152,7 @@ If you have suggestions, corrections or additions, send them to
<dd>
PHP/FI 2.0 is an early and no longer supported version of PHP. PHP 3
is the successor to PHP/FI 2.0 and is a lot nicer. PHP 4 is the latest
generation of PHP, which uses the <? print_Link("http://www.zend.com/", "Zend engine"); ?>
generation of PHP, which uses the <?php print_Link("http://www.zend.com/", "Zend engine"); ?>
under the hood.
<p>
</dd>
@@ -183,7 +183,7 @@ If you have suggestions, corrections or additions, send them to
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="2">
<h2>2. PHP mailing lists</h2>
</a>
@@ -263,7 +263,7 @@ If you have suggestions, corrections or additions, send them to
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="3">
<h2>3. Obtaining PHP</h2>
</a>
@@ -365,7 +365,7 @@ If you have suggestions, corrections or additions, send them to
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="4">
<h2>4. Connecting to databases</h2>
</a>
@@ -589,7 +589,7 @@ just hit the always prompt for new location checkbox before pressing ok.
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="5">
<h2>5. Installation</h2>
</a>
@@ -703,7 +703,7 @@ AddType application/x-httpd-php .php /* for PHP 4 */
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="6">
<h2>6. Build Problems</h2>
</a>
@@ -923,7 +923,7 @@ my $CFG_LDFLAGS_SHLIB = q(-shared);# substituted via Makefile.tmpl </pre>
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="7">
<h2>7. Using PHP</h2>
</a>
@@ -1188,7 +1188,7 @@ solution is to use PHP's
</DD>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="8">
<h2>8. PHP and HTML</h2>
</a>
@@ -1226,7 +1226,7 @@ solution is to use PHP's
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="9">
<h2>9. PHP and other languages</h2>
@@ -1303,7 +1303,7 @@ solution is to use PHP's
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="10">
<h2>10. Common Problems</h2>
</a>
@@ -1381,7 +1381,7 @@ solution is to use PHP's
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="11">
<h2>11. Migrating from PHP3 to PHP4</h2>
</a>
@@ -1406,7 +1406,7 @@ solution is to use PHP's
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="12">
<h2>12. Migrating from PHP2 to PHP3</h2>
</a>
@@ -1422,7 +1422,7 @@ solution is to use PHP's
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<a name="13">
<h2>13. Miscellaneous Questions</h2>
</a>
@@ -1439,11 +1439,11 @@ solution is to use PHP's
All the code for previous versions of the website is still available
through CVS. Specifically, the last version of shared.inc (that had
all the Javascript and DHTML to do the popups) is available
<? print_link("http://cvsweb.php.net/viewcvs.cgi/phpweb/include/shared.inc?rev=1.123&content-type=text/vnd.viewcvs-markup", "here"); ?>.
<?php print_link("http://cvsweb.php.net/viewcvs.cgi/phpweb/include/shared.inc?rev=1.123&content-type=text/vnd.viewcvs-markup", "here"); ?>.
</dd>
</dl>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h2>Credits</h2>
@@ -1452,6 +1452,4 @@ This FAQ was originally written by Jim Winstead. It is currently
maintained by the PHP Documentation Team.
</p>
<?
commonFooter();
?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Anonymous CVS Access");
?>
@@ -61,4 +61,4 @@ to see what is available, and substitute the appropriate name for
<p>You can also mirror the PHP CVS repository using CVSup. See
<a href="cvsup.php">here</a> for more details.</p>
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
/* See bugs.php for the table layout of bugdb. */
@@ -44,7 +44,7 @@ $DISABLE_KICKOUTS=1;
commonHeader("Bug Reporting");
?>
<form method=POST action="<? echo $PHP_SELF;?>">
<form method=POST action="<?php echo $PHP_SELF;?>">
<p><b>Bugs Report Password Finder</b></p>
<p>If you need to modify a bug report that you submitted, but have forgotten what password you used, this utility can help you.</p>
@@ -55,4 +55,4 @@ commonHeader("Bug Reporting");
<p><b>Bug Report ID:</b> #<input type=text size=20 name="bug_id" /> <input type="submit" value="Send" /></p>
</form>
</font>
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Bugs Database Dos and Don'ts");
?>
@@ -19,4 +19,4 @@ commonHeader("Bugs Database Dos and Don'ts");
<li>If you are trying to report bugs in PHP 4.0, please go <a href="http://bugs.php.net/">here</a>.
</ul>
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Generating a gdb backtrace");
?>
@@ -63,4 +63,4 @@ prompt appear and some message indicating that there was a crash. At this gdb p
This should generate a backtrace, that you should submit in the bug report, along with any other
details you can give us about your setup, and offending script.
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
if($save && $user && $pw) {
SetCookie("MAGIC_COOKIE",base64_encode("$user:$pw"),time()+3600*24*12,'/');
@@ -558,7 +558,7 @@ if (isset($cmd) && $cmd == "Send bug report") {
?>
Or use the form below to submit a new bug report.
<hr>
<form method=POST action="<? echo $PHP_SELF;?>">
<form method=POST action="<?php echo $PHP_SELF;?>">
<input type=hidden name=cmd value="Send bug report">
<p><strong>Please read the <a href="bugs-dos-and-donts.php">Dos & Don'ts</a> before submitting a bug report!</strong</p>
@@ -568,7 +568,7 @@ Or use the form below to submit a new bug report.
<tr>
<th align=right>Your email address:</th>
<td colspan="2">
<input type=text size=20 name="email" value="<?if(isset($email)) { echo $email; }?>">
<input type=text size=20 name="email" value="<?php if(isset($email)) { echo $email; }?>">
</td>
</tr><tr>
<th align=right>PHP version:</th>
@@ -579,19 +579,19 @@ Or use the form below to submit a new bug report.
<option name="3.0.15">3.0.15
<option name="3.0.14">3.0.14
<option name="3.0.13">3.0.13
<option name="3.0CVS-<? print date("d/m/Y"); ?>">3.0 Latest CVS (<? print date("d/m/Y"); ?>)
<option name="3.0CVS-<?php print date("d/m/Y"); ?>">3.0 Latest CVS (<?php print date("d/m/Y"); ?>)
<option name="earlier">Earlier? Upgrade first!
</select>
</td>
</tr><tr>
<th align=right>Type of bug:</th>
<td colspan="2">
<?show_types("--Please Select--",0,"ebug_type")?>
<?php show_types("--Please Select--",0,"ebug_type")?>
</td>
</tr><tr>
<th align=right>Operating system:</th>
<td colspan="2">
<input type=text size=20 name="php_os" value="<?echo isset($operating_system)?$operating_system:"";?>">
<input type=text size=20 name="php_os" value="<?php echo isset($operating_system)?$operating_system:"";?>">
</td>
</tr><tr>
<th align=right>Bug description:</th>
@@ -633,12 +633,12 @@ Please supply any information that may be helpful in fixing the bug:
</form>
<? } ?>
<?php } ?>
</font>
<?
<?php
commonFooter();
?>
<?
<?php
/*
# MySQL dump 4.0
#

View File

@@ -825,7 +825,7 @@ if (isset($cmd) && $cmd == "Send bug report") {
?>
Or use the form below to submit a new bug report.
<hr>
<form method=POST action="<? echo $PHP_SELF;?>">
<form method=POST action="<?php echo $PHP_SELF;?>">
<input type=hidden name=cmd value="Send bug report">
<p><strong>Please read the <a href="bugs-dos-and-donts.php">Dos & Don'ts</a> before submitting a bug report!</strong></p>
@@ -839,7 +839,7 @@ You should then report the problem (and the mirror(s) that have it) to
<tr>
<th align=right>Your email address:</th>
<td colspan="2">
<input type=text size=20 name="email" value="<?if(isset($email)) { echo $email; }?>">
<input type=text size=20 name="email" value="<?php if(isset($email)) { echo $email; }?>">
</td>
</tr><tr>
<th align=right>PHP version:</th>
@@ -849,19 +849,19 @@ You should then report the problem (and the mirror(s) that have it) to
<option name="4.0.5">4.0.5
<option name="4.0.4pl1">4.0.4pl1
<option name="4.0.4">4.0.4
<option name="4.0CVS-<? print date("Y-m-d"); ?>">4.0 Latest CVS (<? print date("Y-m-d"); ?>)
<option name="4.0CVS-<?php print date("Y-m-d"); ?>">4.0 Latest CVS (<?php print date("Y-m-d"); ?>)
<option name="earlier">Earlier? Upgrade first!
</select>
</td>
</tr><tr>
<th align=right>Type of bug:</th>
<td colspan="2">
<?show_types("--Please Select--",0,"ebug_type")?>
<?php show_types("--Please Select--",0,"ebug_type")?>
</td>
</tr><tr>
<th align=right>Operating system:</th>
<td colspan="2">
<input type=text size=20 name="php_os" value="<?echo isset($operating_system)?$operating_system:"";?>">
<input type=text size=20 name="php_os" value="<?php echo isset($operating_system)?$operating_system:"";?>">
</td>
</tr><tr>
<th align=right>Bug description:</th>
@@ -903,12 +903,12 @@ Please supply any information that may be helpful in fixing the bug:
</form>
<? } ?>
<?php } ?>
</font>
<?
<?php
commonFooter();
?>
<?
<?php
/*
# MySQL dump 4.0
#

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
if(!strstr($MYSITE,"www.php.net")) {

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Call For Participation");
?>
@@ -151,6 +151,6 @@ Tutorial presentations due: <b>May 1, 2001 </b>
<p>
Conference presentations due: <b>June 1, 2001 </b>
</p>
<?
<?php
commonFooter();
?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Using CVSup to maintain local CVS repository");
?>
@@ -41,4 +41,4 @@ libtool, bison). Cd into php3 or php4 and run <code>./buildconf</code>.
</ol>
</p>
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
if (!isset($HTTP_REFERER)) {
$HTTP_REFERER="-";
}

View File

@@ -158,7 +158,7 @@ francis&eacute;e et retravaill&eacute;e . De plus, ces docs sont compress&eacute
</tr>
</table>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<H1>PHP Annotated Manuals</H1>
<ul>
@@ -173,7 +173,7 @@ francis&eacute;e et retravaill&eacute;e . De plus, ces docs sont compress&eacute
system.
</ul>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>More Information</h1>
@@ -185,7 +185,7 @@ francis&eacute;e et retravaill&eacute;e . De plus, ces docs sont compress&eacute
<li>License questions? See the <a href="/license/#FAQ">License FAQ</a></li>
</ul>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<H1>CVS Account</H1>
@@ -197,7 +197,7 @@ with the development of PHP, read this.
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>Old/Unsupported Information</h1>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Download PHP Logos");
?>
@@ -31,7 +31,7 @@ servers on your page! Copy the image to your site.</font>
<TD ALIGN=center WIDTH=33% BGCOLOR="#FFFFFF">
<IMG SRC="logos/php-med-trans-light.gif" WIDTH=95 HEIGHT=50 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>scaleable EPS
<LI><A HREF="/logos/php-logo.eps">click here to download</A>
@@ -45,7 +45,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#FFFFFF">
<IMG SRC="logos/php-med-trans-light.gif" WIDTH=95 HEIGHT=50 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>250 x 132 pixels TIF
<LI>white background
@@ -59,7 +59,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#FFFFFF">
<IMG SRC="logos/php-med-trans-light.gif" WIDTH=95 HEIGHT=50 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>95 x 50 pixels
<LI>transparent background
@@ -72,7 +72,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#404040">
<IMG SRC="logos/php-med-trans-dark.gif" WIDTH=96 HEIGHT=50 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>96 x 50 pixels
<LI>transparent background
@@ -85,7 +85,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33%>
<IMG SRC="logos/php-small-white.gif" WIDTH=88 HEIGHT=31 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>88 x 31 pixels
<LI>"Powered by PHP" logo
@@ -98,7 +98,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#FFFFFF">
<IMG SRC="logos/php-small-trans-light.gif" WIDTH=88 HEIGHT=31 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>88 x 31 pixels
<LI>"Powered by PHP" logo
@@ -112,7 +112,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33%>
<IMG SRC="logos/php-small-purple.gif" WIDTH=88 HEIGHT=31 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>88 x 31 pixels
<LI>"Powered by PHP" logo
@@ -125,7 +125,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33%>
<IMG SRC="logos/php-small-black.gif" WIDTH=88 HEIGHT=31 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>88 x 31 pixels
<LI>"Powered by PHP" logo
@@ -138,7 +138,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#404040">
<IMG SRC="logos/php-small-trans-dark.gif" WIDTH=88 HEIGHT=31 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>88 x 31 pixels
<LI>"Powered by PHP" logo
@@ -154,7 +154,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#FFFFFF">
<IMG SRC="logos/php4-small.gif" WIDTH=143 HEIGHT=65 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>143 x 65 pixels
<LI>solid white background
@@ -166,7 +166,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#FFFFFF">
<IMG SRC="logos/php4zend-small.gif" WIDTH=143 HEIGHT=65 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>143 x 65 pixels
<LI>solid white background
@@ -180,7 +180,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#FFFFFF">
<IMG SRC="logos/zend-powered-by.gif" WIDTH=100 HEIGHT=58 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>100 x 58 pixels
<LI>"Powered by Zend" logo
@@ -193,7 +193,7 @@ for commercial purposes
<TD ALIGN=center WIDTH=33% BGCOLOR="#FFFFFF">
<IMG SRC="logos/php-icon-white.gif" WIDTH=32 HEIGHT=32 BORDER=0><BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>32 x 32 pixels
<LI>solid white background
@@ -207,7 +207,7 @@ for commercial purposes
<IMG SRC="logos/php-icon-white.gif" VSPACE=5 WIDTH=32 HEIGHT=32 BORDER=0><BR>
(not exactly as shown)<BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>PHP icon resource for Windows
<LI>suitable as icons for your desktop
@@ -225,7 +225,7 @@ all in one .ICO file
<IMG SRC="logos/mini-logo1.gif" VSPACE=5 WIDTH=32 HEIGHT=32 BORDER=0><BR>
(not exactly as shown)<BR>
</TD>
<TD ALIGN=left WIDTH=67%><FONT FACE="<? echo $FONTFACE; ?>">
<TD ALIGN=left WIDTH=67%><FONT FACE="<?php echo $FONTFACE; ?>">
<UL>
<LI>Three 32 x 32 PHP 3 icons for Windows
<LI>transparent backgrounds
@@ -245,6 +245,4 @@ all in one .ICO file
</TABLE>
</CENTER>
<?
commonFooter();
?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
$current = "3.0.18";
@@ -18,7 +18,7 @@ function makeCap() {
<TR bgcolor='#D0D0D0' valign=top>
<TD ALIGN=left><IMG ALT=" " SRC="/gifs/gcap-lefttop.gif" WIDTH=18 HEIGHT=18 BORDER=0><BR></TD>
<TD align=center colspan=3 rowspan=2 NOWRAP>
<?
<?php
if (!isset($csel)) {
$csel='';
$hostname=getenv("REMOTE_HOST");
@@ -77,7 +77,7 @@ while ($site = key($mirror_sites)) {
<TD ALIGN=left><IMG alt=" " SRC="/gifs/gcap-leftbot.gif" WIDTH=18 HEIGHT=18 BORDER=0><BR></TD>
<TD ALIGN=right><IMG alt=" " SRC="/gifs/gcap-rightbot.gif" WIDTH=18 HEIGHT=18 BORDER=0><BR></TD>
</TR>
<?
<?php
};
@@ -168,6 +168,4 @@ while ($site = @current($showsites)) {
</TABLE>
<?
commonFooter();
?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Downloads");
$server = $SERVER_NAME;
@@ -33,7 +33,7 @@ $server = $SERVER_NAME;
</ul>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>Other Downloads</h1>
@@ -45,7 +45,7 @@ $server = $SERVER_NAME;
<li><a href="http://www.zend.com/zend/optimizer.php">Zend Optimizer</a> for PHP 4.0.3 and later is available on Zend Technologies' web site.
</ul>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>Older Versions of PHP</h1>
@@ -66,6 +66,4 @@ $server = $SERVER_NAME;
</p>
<?
commonFooter();
?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?php
<?php
require_once 'prepend.inc';
require_once 'shared-manual.inc';

View File

@@ -142,7 +142,7 @@ function makeEntry($date,$name,$blurb,$id=0) {
<td bgcolor="#e0e0e0" colspan="2">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr valign="top"><td>
<?
<?php
$name = htmlspecialchars($name);
if ($name && $name != "php-general@lists.php.net" && $name != "user@example.com") {
if (ereg("(.+)@(.+)\.(.+)",$name)) {
@@ -156,7 +156,7 @@ function makeEntry($date,$name,$blurb,$id=0) {
?>
</td>
<td align="right">
<?
<?php
if (isset($MAGIC_COOKIE) && $id) {
print_link('/manual/admin-notes.php?action=edit+' . $id . '&brief=1',
make_image('notes-edit.gif', 'edit note'),
@@ -177,12 +177,12 @@ if (isset($MAGIC_COOKIE) && $id) {
<br></td>
</tr>
<tr bgcolor="#f0f0f0"><td colspan="2">
<? echo clean_note($blurb); ?><br>
<?php echo clean_note($blurb); ?><br>
</td></tr>
</table>
</td>
</tr>
<?
<?php
};
function manualGetUserNotes($title, $id)

View File

@@ -44,7 +44,7 @@ echo "\n<!--$MYSITE-->\n";
?>
<h1>Mailing lists and CVS are up!</h1>
<? print_link("http://www.pair.com/", make_image("pair.gif", "Pair Networks", "right") ); ?>
<?php print_link("http://www.pair.com/", make_image("pair.gif", "Pair Networks", "right") ); ?>
<p>
<font class="newsDate">[1-Jul-2001]</font>
The disturbances in the mailing lists and CVS services that happened in the last
@@ -52,7 +52,7 @@ few weeks are now gone, hopefully for good. This is thanks to a brand new serve
by <a href="http://www.pair.com/">Pair Networks</a>. Thanks!
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>PHP 4.0.6 Released!</h1>
@@ -65,11 +65,11 @@ full list of changes, check out the <a href="/ChangeLog-4.php">Change Log</a>.
<br clear="all">
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>
<? print_link("http://www.php-kongress.de/2001/index_en.php", make_image("international_conference.gif", "PHP International Conference 2001", "right") ); ?>
<?php print_link("http://www.php-kongress.de/2001/index_en.php", make_image("international_conference.gif", "PHP International Conference 2001", "right") ); ?>
PHP conventions in Europe
</h1>
<p>
@@ -79,29 +79,29 @@ has been announced. Further details are available on the
<a href="http://www.php-kongress.de/2001/index_en.php">official Web site</a>.
</p>
<p>
<? print_link("http://www.linuxtag.org/2001/english/30.html", make_image("phplt.gif", "LinuxTag", "right") ); ?>
<?php print_link("http://www.linuxtag.org/2001/english/30.html", make_image("phplt.gif", "LinuxTag", "right") ); ?>
Also coming between July 5th-8th -
<a href="http://www.linuxtag.org/2001/english/30.html">LinuxTag 2001</a>,
in Stuttgart, Germany, with <a href="http://www.linuxtag.org/2001/english/showitem.php3?item=273&lang=en">strong PHP presence</a>.
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<?/* move this entry to the top when you update it! */?>
<?php /* move this entry to the top when you update it! */ ?>
<h1>
<? print_link("/usage.php", make_image("stats-small.gif", "PHP Usage Stats", "right") ); ?>
<?php print_link("/usage.php", make_image("stats-small.gif", "PHP Usage Stats", "right") ); ?>
New Usage Stats For May available
</h1>
<p>
<font class="newsDate">[02-Jun-2001]</font>
<? print_link("http://www.netcraft.com/", "Netcraft"); ?> and
<? print_link("http://www.securityspace.com/s_survey/", "E-Soft" ); ?> have
<?php print_link("http://www.netcraft.com/", "Netcraft"); ?> and
<?php print_link("http://www.securityspace.com/s_survey/", "E-Soft" ); ?> have
published the current results for their Web Server surveys - both
of which continue to show impressive growth for PHP. Check out the
<? print_link("/usage.php", "usage page"); ?>.
<?php print_link("/usage.php", "usage page"); ?>.
<br clear="all">
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>PHP Conference</h1>
<p>
@@ -118,9 +118,9 @@ save up to $400!</a>.
<br clear="all">
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1><?print_link("http://ApacheCon.Com/", "ApacheCon 2001");?></h1>
<h1><?php print_link("http://ApacheCon.Com/", "ApacheCon 2001");?></h1>
<p>
<font class="newsDate">[11-Apr-2001]</font>
@@ -143,7 +143,7 @@ on the first PHP Conference coming July 2001, part of the <a
href="http://conferences.oreilly.com/oscon/">O'Reilly Open Source
Conference</a> in San Diego, California.)</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>New Site Design</h1>
@@ -156,22 +156,22 @@ bugs that are surely lingering behind this new facade.
</p>
<p>
Looking for the <? print_link("/quickref.php", "quickref"); ?> box?
Looking for the <?php print_link("/quickref.php", "quickref"); ?> box?
Use the "search" feature, conveniently located in the top-right corner of every page.
If you search for something in the function list (and it's a valid
PHP function), you will be directed to the appropriate manual page.
If the function doesn't exist, you'll get a list of all the PHP functions,
and and option to do a site-wide search for your phrase.
And don't forget to visit the <? print_link("/tips.php", "tips and tricks"); ?> page
And don't forget to visit the <?php print_link("/tips.php", "tips and tricks"); ?> page
to add "quickref" functionality right into your web browser.
</p>
<br clear="all">
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>
<? echo make_image("php-gtk-white.gif", "PHP-GTK", "right"); ?>
<?php echo make_image("php-gtk-white.gif", "PHP-GTK", "right"); ?>
Announcing PHP-GTK</h1>
<p>
@@ -180,11 +180,11 @@ The first release of PHP-GTK is now available. PHP-GTK is
a PHP extension that provides an object-oriented interface
to GTK+ toolkit and enables you to write client-side
cross-platform GUI applications. For more information, visit
<?print_link("http://gtk.php.net/")?>.
<?php print_link("http://gtk.php.net/")?>.
<br clear="all">
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>
PHP 3.0.18 Released
@@ -193,34 +193,32 @@ PHP 3.0.18 Released
<font class="newsDate">[21-Oct-2000]</font>
PHP 3.0.18 was released. This is a bug-fix release, including
fixes for file uploads and a backported imagetypes() function from PHP 4.0. The
<? print_link("http://cvs.php.net/viewcvs.cgi/php3/ChangeLog?rev=1.854", "ChangeLog"); ?> contains a full list of changes.
<?php print_link("http://cvs.php.net/viewcvs.cgi/php3/ChangeLog?rev=1.854", "ChangeLog"); ?> contains a full list of changes.
<br clear="all">
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>
Improve Your PHP Skills
</h1>
<p>
Looking for clear and useful guides to build dynamic web-sites using
PHP? Our <? print_link("/books.php", "Books Resource Center"); ?> lists now
PHP? Our <?php print_link("/books.php", "Books Resource Center"); ?> lists now
more than a dozen books in eight different languages. If you know
about more PHP-related books, tell us about them!
<br clear="all">
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>
Tips and Tricks Section
</h1>
<p>
Check out our <? print_link("/tips.php", "tips"); ?> page for some "neat" things,
Check out our <?php print_link("/tips.php", "tips"); ?> page for some "neat" things,
PHP-related. It's a little sparse right now, but feel free to make suggestions!
<br clear="all">
</p>
<?
commonFooter();
?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
function addlinks($text) {
$text = htmlspecialchars($text);
$new_text = ereg_replace("(http:[^ \n\t]*)","<a href=\"\1-=-\">\1</a>",$text);

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
$SIDEBAR_DATA = '
@@ -168,7 +168,7 @@ courses, tutorials and other resources<br>
Brazilian PHP Portal with many link and informations<br>
</ul>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>Developers and Job Opportunities</h1>
<P>
@@ -192,7 +192,7 @@ search sites on the web, take a look at <a
href="http://www.dmoz.org/Business/Employment/Job_Search/">dmoz.org's
Job Search listings</a>.</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>ISPs that support PHP</h1>
@@ -207,4 +207,4 @@ Looking for an ISP or hosting service that supports PHP? Try one of the followi
</UL>
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -18,3 +18,5 @@ $notfound = $prevsearch = $function;
include 'quickref.php';
exit;
?>

203
news.php
View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("PHP in the News");
@@ -41,7 +41,7 @@ and we will be sure to add it to this list.
<DL>
<? makeEntry ("Why PHP?",
<?php makeEntry ("Why PHP?",
"Jalal Pushman",
"http://www.WebDevelopersJournal.com/articles/why_php.html",
"November 7, 2000");
@@ -49,10 +49,10 @@ and we will be sure to add it to this list.
According to NetCraft surveys, PHP is now the most popular module for the
Apache server and in total running on something like two million Web sites.
Here are some of the reasons why PHP is such a popular server side scripting language.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry ("The Scoop on PHP - Want a Cure For the ASP Blues?",
<?php makeEntry ("The Scoop on PHP - Want a Cure For the ASP Blues?",
"Craig Knudsen",
"http://www.linux-mag.com/online/php_01.html",
"September 14, 2000" );
@@ -63,10 +63,10 @@ I found it interesting that Freshmeat's dynamic pages all ended with .php3
instead of the .pl or .cgi associated with Perl/CGI sites like Slashdot. I
did a little exploring, quickly downloaded PHP version 3, and immediately
became a PHP fan.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "LinuxTag - some impressions",
<?php makeEntry( "LinuxTag - some impressions",
"Winfried Tr&uuml;mper",
"http://www.guug.de:8080/fotos/linuxtag/story/index.html",
"July, 2000");
@@ -79,10 +79,10 @@ hours of free lectures followed from friday to sunday, addressing the interests
end-users and developers. During all days companies and free software developers
showed their Linux-products on an area of 6.000 m². An estimated number of 17,000 people
visited the LinuxTag, making it a big success to be repeated next year.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry ("Brennpunkt WWW",
<?php makeEntry ("Brennpunkt WWW",
"Tobias Ratschiller",
"http://www.heise.de/ix/artikel/2000/07/052/",
"June 23, 2000");
@@ -90,10 +90,10 @@ visited the LinuxTag, making it a big success to be repeated next year.
[in German] Maßgeschneidert für das Web: PHP 4.0. Mit der am 22. Mai freigegebenen
Version 4.0 wandelt sich PHP von der Skriptsprache für kleine und mittlere Webanwendungen
zur umfangreichen Middleware-Technik.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Are PHP and MySQL the Perfect Couple?",
<?php makeEntry( "Are PHP and MySQL the Perfect Couple?",
"Jason Gilmore",
"http://www.oreillynet.com/pub/a/network/2000/06/16/magazine/php_mysql.html",
"June 16, 2000");
@@ -105,10 +105,10 @@ developers of both technologies, culminated in a "meeting of the minds" in Israe
this year. This resulted in the MySQL library being packaged with the PHP 4.0 distribution,
in addition to an agreement to help each other improve the performance quality of product
integration whenever the opportunity arises.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Your SQL Database Might Just Be MySQL",
<?php makeEntry( "Your SQL Database Might Just Be MySQL",
"John Paul Ashenfelter",
"http://www.oreillynet.com/pub/a/network/2000/06/16/magazine/mysql.html",
"June 16, 2000");
@@ -116,10 +116,10 @@ integration whenever the opportunity arises.
So you need to build a database application that will be delivered over the Web.
Your users have the browsers, you've got the web server and application software,
but you need a database. What are your choices?
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Student Suspended Over Suspected Use of PHP",
<?php makeEntry( "Student Suspended Over Suspected Use of PHP",
"by National News",
"http://bbspot.com/News/2000/6/php_suspend.html",
"June 14, 2000");
@@ -128,10 +128,10 @@ but you need a database. What are your choices?
policy against drug use, he was immediately suspended. No questions asked," said
Principal Clyde Thurlow. "We're not quite sure what PHP is, but we suspect it may
be a derivative of PCP, or maybe a new designer drug like GHB."
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Object-Oriented Programming with PHP",
<?php makeEntry( "Object-Oriented Programming with PHP",
"Jason Gilmore",
"http://www.webreview.com/2000/06_02/developers/06_02_00_3.shtml",
"June 2, 2000");
@@ -139,10 +139,10 @@ be a derivative of PCP, or maybe a new designer drug like GHB."
Couple Object-Oriented Programming with PHP and you've got features
worth inheriting. From foundations to class to inheritance, Jason makes
understanding objects within PHP easy--and practical.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP From an IT Manager's Perspective",
<?php makeEntry( "PHP From an IT Manager's Perspective",
"Tobias Ratschiller",
"http://idm.internet.com/articles/200005/php_05_30_00a.html",
"May 31, 2000");
@@ -153,10 +153,10 @@ the PHP Hypertext Preprocessor. As this article shows, PHP over the years
had the opportunity to strengthen its core base and to integrate more
features, and provides today a base that can easily stand out in the
increasingly crowded server-side application development platform market.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP 4.0: Dynamic Content for the Web Warrior",
<?php makeEntry( "PHP 4.0: Dynamic Content for the Web Warrior",
"Paul Ferris",
"http://www.linuxplanet.com/linuxplanet/reviews/1891/1/",
"May 28, 2000");
@@ -165,10 +165,10 @@ If you've been cruising the net, looking for the latest and greatest things,
you often come across vaporware technologies, and promises that are made and
broken. You might find yourself imagining things, like over-hyped proprietary
products coming down the pike, where the choices had been open in the past.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "MySQL-Daten mit PHP ins Web bringen",
<?php makeEntry( "MySQL-Daten mit PHP ins Web bringen",
"Henning Behme",
"http://www.heise.de/ix/artikel/2000/06/056/",
"May 17, 2000");
@@ -176,10 +176,10 @@ products coming down the pike, where the choices had been open in the past.
[in German] Dynamische Websites sind meist von Datenbanken abhängig. Deren
Bestände lassen sich `on the fly' vom Server zu Surfer übertragen. PHP ist
eine Skriptsprache, die die Integration von DBMS-Daten in HTML-Dateien erleichtert.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Evolution of a Super Hero",
<?php makeEntry( "Evolution of a Super Hero",
"Tobias Ratschiller",
"http://www.webtechniques.com/archives/2000/05/ratschiller/",
"April 7, 2000");
@@ -187,29 +187,29 @@ eine Skriptsprache, die die Integration von DBMS-Daten in HTML-Dateien erleichte
What's that in the sky? Is it Perl? Is it ASP? Is it JSP? No, it's PHP 4.0!
Tobias Ratschiller has the inside story on what you can expect from release
candidate 1.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP and XML: Technical or Cultural Gap?",
<?php makeEntry( "PHP and XML: Technical or Cultural Gap?",
"Eric van der Vlist",
"http://www.xmlhack.com/read.php?item=338",
"March 14, 2000");
?>
Classified as "the most popular Apache module" by E-Soft, PHP is one of the least
frequently mentioned languages amongst the XML discussion lists.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Under The Hood of PHP 4",
<?php makeEntry( "Under The Hood of PHP 4",
"Zeev Suraski",
"http://www.zend.com/zend/art/under-php4-hood.php",
"February 27, 2000");
?>
Describes the major differences and improvements in the next generation PHP, PHP 4.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP: Past, Present, and Future",
<?php makeEntry( "PHP: Past, Present, and Future",
"Rasmus Lerdorf, Stig Bakken, Andi Gutmans, and Zeev Suraski",
"http://hotwired.lycos.com/webmonkey/radio/php.html",
"February 27, 2000");
@@ -220,19 +220,19 @@ talks about the unlikely origins of this open-source product. Then core develope
Stig Bakken, Andi Gutmans, and Zeev Suraski explain how they came to work on PHP
and discuss the evolution of the language. Plus, you'll hear about the planned
support for XML and MySQL and what's going on with Zend.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Template-Based Web Sites as Easy as P-H-P",
<?php makeEntry( "Template-Based Web Sites as Easy as P-H-P",
"Jason Gilmore",
"http://www.webreview.com/pub/2000/02/11/php/index.html",
"February 11, 2000");
?>
Tutorial for creating template-based Web sites with PHP.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Authenticate and Track Users with PHP",
<?php makeEntry( "Authenticate and Track Users with PHP",
"Julie Meloni",
"http://hotwired.lycos.com/webmonkey/00/05/index2a.html",
"February 2, 2000");
@@ -241,19 +241,19 @@ Shows you the basics of PHP-based user authentication, the use of cookies, and a
short glimpse (with working examples!) at the session functions of PHP4. The
article was written by Julie Meloni, author of <a href="http://www.thickbook.com/">PHP Essentials</a>,
a book for the beginning or intermediate PHP user, available in March at a bookstore near you.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "What you should know about PHP",
<?php makeEntry( "What you should know about PHP",
"Jason Gilmore",
"http://webreview.com/pub/2000/01/21/feature/index.html",
"January 21, 2000");
?>
PHP can help you look like a web-wunderkid while saving you hours of drudgery.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP: A Silent Killer",
<?php makeEntry( "PHP: A Silent Killer",
"Jim White",
"http://www.osopinion.com/Opinions/JimWhite/JimWhite5.html",
"December 22, 1999");
@@ -263,57 +263,57 @@ it runs equally well on NT and UNIX, it's well documented. PHP is no doubt steal
market share from Microsoft's Active Server Pages, but the media has been unusually
quiet about the issue. Even as Apache's success has become front page news, PHP has
gone largely unnoticed. Maybe Microsoft wants to keep it that way.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Welcome Zend",
<?php makeEntry( "Welcome Zend",
"Graeme Merral",
"http://hotwired.lycos.com/webmonkey/99/51/index3a.html",
"December 16, 1999");
?>
Optimization - PHP vs. ASP - New Features - Geeky Features
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "The Latest Best-Kept Secret",
<?php makeEntry( "The Latest Best-Kept Secret",
"Glyn Moody",
"http://www.computerweekly.com/cwarchive/gwfeat/19991209/cwcontainer.asp?name=F1.html",
"December 9, 1999");
?>
With the same features as ASP and JSP, PHP is the fastest growing Apache add-on.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Trio Informale",
<?php makeEntry( "Trio Informale",
"Dirk Reichelt",
"http://www.zdnet.de/internet/artikel/java/199912/phpdatenbank01_00-wc.html",
"November 29, 1999");
?>
[in German] &quot;Redaktionssystem für die Website mit PHP&quot;
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Interview with the PHP Team",
<?php makeEntry( "Interview with the PHP Team",
"the Linuxpower Team",
"http://www.linuxpower.org/display_item.phtml?id=149",
"November 17, 1999");
?>
An interview with the core PHP development team: Andi, Andrei, Jim, Rasmus, Sascha,
Stig, Thies, and Zeev.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Web-Page Generator PHP Gets A Much-Needed Jolt in Version 4",
<?php makeEntry( "Web-Page Generator PHP Gets A Much-Needed Jolt in Version 4",
"by Ahmad Abualsamid",
"http://www.techweb.com/se/directlink.cgi?NWC19991101S0014",
"November 1, 1999");
?>
PHP began as a small project to enhance a single Web site; it eventually became the
most popular server-side scripting language for use with Apache.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP-Einf&uuml;hrung",
<?php makeEntry( "PHP-Einf&uuml;hrung",
"Tobias Ratschiller",
"http://www.internetworld.de/iw/magazin_11phpeinfuehrung.htm",
"October 20, 1999");
@@ -321,10 +321,10 @@ most popular server-side scripting language for use with Apache.
[in German] &quot;Over ten percent of all web servers have the scripting
language PHP installed. Internet World shows you how to create dynamic
web pages with PHP.&quot; Introduction to PHP in four parts.&quot;
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP: One Size Fits All",
<?php makeEntry( "PHP: One Size Fits All",
"Niels Pollem",
"http://www.heise.de/ix/artikel/1999/07/076/",
"July 19, 1999");
@@ -334,48 +334,48 @@ l&auml;ngst zum normalen Handwerk. Werkzeuge und Sprachen daf&uuml;r
stehen zur Verf&uuml;gung. Das derzeit noch in der Version&nbsp;3
verf&uuml;gbare PHP bietet sich dabei f&uuml;r Anf&auml;nger wie Profis
an - und PHP ist Open Source.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Uncovering One of the Web's Secrets: Integrated Scripting with PHP",
<?php makeEntry( "Uncovering One of the Web's Secrets: Integrated Scripting with PHP",
"Leon Atkinson",
"http://webreview.com/wr/pub/1999/07/09/feature/index.html?wwwrrr_19990709.html",
"July 9, 1999");
?>
A basic introduction to PHP, by the author of "Core PHP Programming".
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Treasure Trove: PHP Offers Features That Will Make Your Web Apps Sparkle",
<?php makeEntry( "Treasure Trove: PHP Offers Features That Will Make Your Web Apps Sparkle",
"Nicholas Petreley",
"http://www.infoworld.com/articles/op/xml/990621oppetreley.xml",
"June 19, 1999");
?>
LinuxWorld's editorial director discovers PHP and extols its virtues.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Site Navigation with PHP",
<?php makeEntry( "Site Navigation with PHP",
"Brad Bulger",
"http://www.hotwired.com/webmonkey/99/25/index2a.html",
"June 16, 1999");
?>
Another Webmonkey article on using PHP, this time explaining how to use
PHP to make it easier for users to navigate your website.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP/MySQL Tutorial",
<?php makeEntry( "PHP/MySQL Tutorial",
"Graeme Merrall",
"http://www.hotwired.com/webmonkey/99/21/index2a.html?tw=frontdoor",
"May 19, 1999");
?>
A three-lesson tutorial on using PHP and MySQL together on Windows
and Unix systems.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "A fun thing happened on the way to the Phorum",
<?php makeEntry( "A fun thing happened on the way to the Phorum",
"by Joe Barr",
"http://www.linuxworld.com/linuxworld/lw-1999-05/lw-05-vcontrol2.html",
"May 12, 1999");
@@ -383,10 +383,10 @@ and Unix systems.
Slackware.com uses it. But have you heard of the freely available
conferencing software called Phorum? Joe tells the story of Phorum,
and how he came to try it out.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Internet Publication System with GNU/Linux",
<?php makeEntry( "Internet Publication System with GNU/Linux",
"&Aacute;lvaro del Castillo",
"http://www.openresources.com/magazine/publication-system-inet",
"May 3, 1999");
@@ -394,37 +394,37 @@ and how he came to try it out.
First in a series dedicated to the analysis, development and
implementation of a very complete system for publishing data on the
Internet using GNU/Linux software (including PHP 3.0).
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Web mail in PHP",
<?php makeEntry( "Web mail in PHP",
"Bj&#248;rn Borud",
"http://www.opensourceit.com/tutorials/990416php.html",
"April 28, 1999");
?>
Building a simple web-mail interface in PHP using the IMAP extension.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "LDAP at Home",
<?php makeEntry( "LDAP at Home",
"Rasmus Lerdorf",
"http://www.webtechniques.com/1999/05/lerdorf/junk.shtml",
"April 14, 1999");?>
A very introductory look at LDAP and how to write a PHP interface to an LDAP server,
from the May, 1999 issue of Webtechniques.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry("Search This",
<?php makeEntry("Search This",
"Colin Viebrock",
"http://www.devshed.com/Server_Side/PHP/Search_This/",
"March 15, 1999");
?>
Searching Your Dynamic Site with PHP and ht://Dig.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "PHP 3 - a Revolution for the Web",
<?php makeEntry( "PHP 3 - a Revolution for the Web",
"Tobias Ratschiller",
false,
"February 15, 1999");?>
@@ -433,10 +433,10 @@ expensive? The solution is PHP 3.&quot; This introductory article presents
PHP 3 as a scalable, easy-to-use, high-perfomance solution for server-side
scripting. From the German Internet World. Also features an interview with Rasmus
Lerdorf.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry("PHP 3.0 - Full-power Web Scripting",
<?php makeEntry("PHP 3.0 - Full-power Web Scripting",
"Ted Brockwood",
"http://nctweb.com/articles/php.html",
"Jan. 27, 1999");
@@ -447,30 +447,30 @@ Active Server Pages (ASP) folks, and the Cold Fusion users. If you do a
little more research however, you'll find there are other options out
there, and one of these, PHP 3.0, is in much wider use than one would
think for an "alternative product".
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry("Articles on phpbuilder.com",
<?php makeEntry("Articles on phpbuilder.com",
"Tim Perdue and Rasmus Lerdorf",
"http://www.phpbuilder.com",
"Jan. 24, 1999");
?>
&quot;Building Dynamic Web Pages with Search Engines in Mind&quot; and
&quot;Creating Dynamic Images with PHP&quot;
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry( "Classified ads with PHP 3 and MySQL",
<?php makeEntry( "Classified ads with PHP 3 and MySQL",
"Tobias Ratschiller",
"http://www.zdnet.de/internet/artikel/java/199902/php3mysql_00-wf.html",
"Jan. 18, 1999"); ?>
[in German] &quot;PHP 3 is the most powerful tool on the market for building dynamic,
database-driven websites. Internet Pro shows how to realize a classified ads
site with PHP and MySQL.&quot; From Internet Pro (Ziff Davis).
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry("Apache Gets Down to Business",
<?php makeEntry("Apache Gets Down to Business",
"Bjørn Borud",
"http://www.devx.com/upload/free/features/webbuilder/1998/wb1098/bb1098/bb1098.htm",
"Sept. 24, 1998");
@@ -480,10 +480,10 @@ You may not be aware of the rich programming environment that surrounds Apache,
though. PHP gives you strong SQL connectivity, and mod_perl has powerful application
integration facilities. Learn how to exploit these capabilities. Also, see our review of Apache.&quot;
From WEBBuilder Magazine.
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry("PHP/MySQL ... Combination wins Database of the Year Award at Web98",
<?php makeEntry("PHP/MySQL ... Combination wins Database of the Year Award at Web98",
false,
"http://webreview.com/wr/pub/wtawards",
"June 22, 1998");
@@ -494,20 +494,20 @@ pair of &quot;free software&quot; tools that work together quite nicely as a
platform for building dynamic content. The award is also a tribute to the Open Source
initiative; both products are used, developed and supported by interlocking
communities of people on the Net.&quot;
<? endEntry(); ?>
<?php endEntry(); ?>
<? makeEntry("PHP Killer Apps & Huge Hit Usage!",
<?php makeEntry("PHP Killer Apps & Huge Hit Usage!",
"Dave Garaffa",
"http://browserwatch.internet.com/news/story/news-980610-7.html",
"June 10, 1998");
?>
"After my initial story I got a wave of email providing links to PHP enabled
web apps. Here is a short list."
<? endEntry();?>
<?php endEntry();?>
<? makeEntry("Notes from a Webmaster",
<?php makeEntry("Notes from a Webmaster",
"Dave Garaffa",
"http://browserwatch.internet.com/news/story/news-980608-7.html",
"June 8, 1998");
@@ -516,58 +516,58 @@ web apps. Here is a short list."
on Friday!! For those who already know about PHP 3.0 now you
know why I've been so busy. ;-) For those who don't know about
it... all I can say is AWSOME!"
<? endEntry();?>
<?php endEntry();?>
<? makeEntry("Linux, SQL, and the Web",
<?php makeEntry("Linux, SQL, and the Web",
"Charles J. Fisher",
"http://cs.sau.edu/~cfisher/uw/018.html",
"1998"); ?>
Charles walks through the steps required to get Linux, PostgreSQL and PHP 3.0
to talk to each other. From UnixWorld Online.
<? endEntry();?>
<?php endEntry();?>
<? makeEntry("Building A Cross-Platform Web Infrastructure - Part One",
<?php makeEntry("Building A Cross-Platform Web Infrastructure - Part One",
"Brian Platz and Robert Flannigan",
"http://www.performancecomputing.com/unixintegration/9802/9802f1.htm",
"February 1998");
?>
Brian and Robert take a look at all the options out there and end up
choosing PHP over all the big guys. From UnixIntegration.
<? endEntry();?>
<?php endEntry();?>
<? makeEntry("Building A Cross-Platform Web Infrastructure - Part Two",
<?php makeEntry("Building A Cross-Platform Web Infrastructure - Part Two",
"Brian Platz and Robert Flannigan",
"http://www.performancecomputing.com/unixintegration/9803/9803f1.htm",
"March 1998");
?>
Brian and Robert continue their project by focusing on using PHP as the middleware
between a Web-server process and a back-end relational-database system.
<? endEntry();?>
<?php endEntry();?>
<? makeEntry("A Contact Database using MySQL and PHP",
<?php makeEntry("A Contact Database using MySQL and PHP",
"Mike Miller",
"http://www.webtechniques.com/archives/1998/01/note/",
"January 1998");
?>
Mike builds a contact database with MySQL and PHP. From WebTechniques.
<? endEntry();?>
<?php endEntry();?>
<? makeEntry("Dynamic Web Pages with PHP 3",
<?php makeEntry("Dynamic Web Pages with PHP 3",
"Rasmus Lerdorf",
"http://www.webtechniques.com/archives/1998/02/lerdorf/",
"February 1998");
?>
As PHP gets an upgrade and name change, Rasmus explains its history and shows us some new features
by building a dynamic Web photo album.
<? endEntry();?>
<?php endEntry();?>
<? makeEntry("Clear Ink Announces SpellWeb",
<?php makeEntry("Clear Ink Announces SpellWeb",
"SpellWeb Press Release",
"http://www.clearink.com/about.htmy?topic=pr_3_23_98",
"March 23, 1998");
@@ -577,11 +577,8 @@ strategy, technology and design services agency, announces today a new site
called SpellWeb, <a href="http://www.spellweb.com">http://www.spellweb.com</a>,
designed to detect and compare patterns in word usage throughout the global
online community.
<? endEntry();?>
<?php endEntry();?>
</DL>
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
$NUMACROSS=2;
@@ -67,28 +67,28 @@ commonHeader("PHP Manual Quick Reference");
<h1>PHP Function List</h1>
<? if ($notfound) { ?>
<?php if ($notfound) { ?>
<P>
Sorry, but the function <B><? echo $notfound; ?></B> is not in the online manual.
Sorry, but the function <B><?php echo $notfound; ?></B> is not in the online manual.
Perhaps you misspelled it, or it is a relatively new function that hasn't made it
into the online documentation yet. The following are the <? echo $SHOW_CLOSE;?>
functions which seem to be closest in spelling to <B><? echo $notfound;?></B> (really
into the online documentation yet. The following are the <?php echo $SHOW_CLOSE;?>
functions which seem to be closest in spelling to <B><?php echo $notfound;?></B> (really
good matches are in bold). Perhaps you were looking for one of these:
</P>
<? makeTable($lang,$maybe); ?>
<?php makeTable($lang,$maybe); ?>
<P>
If you want to search the entire PHP website for the string &quot;<B><? echo $notfound; ?></B>&quot;,
then <? print_link('search.php?show=nosource&pattern='.urlencode($notfound), 'click here'); ?>.
If you want to search the entire PHP website for the string &quot;<B><?php echo $notfound; ?></B>&quot;,
then <?php print_link('search.php?show=nosource&pattern='.urlencode($notfound), 'click here'); ?>.
</P>
<p>
For a quick overview over all PHP functions,
<? print_link('quickref.php', 'click here') ?>.
<?php print_link('quickref.php', 'click here') ?>.
</p>
<?
<?php
commonFooter();
exit;
}
@@ -98,11 +98,9 @@ For a quick overview over all PHP functions,
Here is a list of all the PHP functions. Click on any one of them to jump to that page in the manual.
</P>
<? makeTable($lang,$functions); ?>
<?php makeTable($lang,$functions); ?>
</TD></TR>
</TABLE>
<?
commonFooter();
?>
<?php commonFooter(); ?>

View File

@@ -1 +1 @@
<? Header("Location: $URL"); ?>
<?php Header("Location: $URL"); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
/*
@@ -99,7 +99,7 @@ if(!isset($pattern)) {
$form=$PHP_SELF;
?>
<h1>Search</h1>
<FORM ACTION="<?echo $form;?>" METHOD="POST">
<FORM ACTION="<?php echo $form;?>" METHOD="POST">
<CENTER>
<TABLE CELLSPACING="0" CELLPADDING="2">
<TR VALIGN="top">
@@ -107,7 +107,7 @@ if(!isset($pattern)) {
Search for: <BR>
</TD>
<TD>
<INPUT TYPE="text" NAME="pattern" VALUE="<?echo $prevsearch;?>" SIZE="30">
<INPUT TYPE="text" NAME="pattern" VALUE="<?php echo $prevsearch;?>" SIZE="30">
<INPUT TYPE="submit" VALUE=" Search "><BR>
</FONT></TD>
</TR>
@@ -133,7 +133,7 @@ Restrict the search to: <BR>
</TABLE>
</CENTER>
</FORM>
<? } else {
<?php } else {
commonHeader("Search Results");
echo "<h1>Search Results</h1>\n";
if ($HAVE_SEARCH && isset($htsearch_prog)) {

View File

@@ -7,12 +7,8 @@ if (!isset($url)) {
commonFooter();
exit;
}
?>
Source of: <? echo $url; ?><BR>
<?
echo hdelim();
echo "Source of: $url<br>" . hdelim();
$legal_dirs = array(
"/manual" => 1,
@@ -51,14 +47,13 @@ echo hdelim();
The syntax highlighted source is automatically generated by PHP from the plaintext script.<br>
If you're interested in what's behind the <B>commonHeader()</B> and <B>commonFooter()</B> functions,
you can always take a look at the source of the
<? print_link("/source.php?url=/include/shared.inc", "shared.inc"); ?> and
<? print_link("/source.php?url=/include/layout.inc", "layout.inc"); ?> files.
<?php print_link("/source.php?url=/include/shared.inc", "shared.inc"); ?> and
<?php print_link("/source.php?url=/include/layout.inc", "layout.inc"); ?> files.
And, of course, if you want to see the source of this page, have a look
<? print_link("/source.php?url=/source.php", "here"); ?>.
<?php print_link("/source.php?url=/source.php", "here"); ?>.
</P>
<?
<?php
}
commonFooter();
?>

View File

@@ -22,8 +22,8 @@ PHP user groups have started popping up. Christopher
R. Moewes-Bystrom is running a PHP user group registry at <a
href="http://www.phpusergroups.org/">http://www.phpusergroups.org/</a>.<br>
As Germanys PHP-community is quite busy, they have their own user groups.
For an overview as well as news from the various groups have a look at <a href="http://www.phpug.de/">
http://www.phpug.de/</a>.
For an overview as well as news from the various groups have a look
at <a href="http://www.phpug.de/">http://www.phpug.de/</a>.
</p>
<h3>Sample Code</h3>
@@ -276,8 +276,7 @@ HREF="/search.php">the search page</A> or by using the search input box
selecting the appropriate option on the top-right of every page.
</p>
<? echo hdelim(); ?>
<?php echo hdelim(); ?>
<h1>Local Mailing Lists</h1>
<p>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("Thanks");
?>
@@ -6,28 +6,28 @@ commonHeader("Thanks");
<h1>Thanks</h1>
<p>
<? print_link("http://chek.com/", "Chek.com"); ?> provides the server and
<?php print_link("http://chek.com/", "Chek.com"); ?> provides the server and
bandwidth that run the main www.php.net mirror site.
</p>
<p>
<? print_link("http://www.easydns.com/?V=698570efeb62a6e2", "easyDNS"); ?> provides
<?php print_link("http://www.easydns.com/?V=698570efeb62a6e2", "easyDNS"); ?> provides
DNS services for the php.* domains.
</p>
<p>
<? print_link("http://www.pair.com/", "pair Networks"); ?> provides
<?php print_link("http://www.pair.com/", "pair Networks"); ?> provides
the server and bandwidth for CVS and mailing list services.
</p>
<p>
<? print_link("http://valinux.com/", "VA Linux Systems"); ?> provides the server and
<?php print_link("http://valinux.com/", "VA Linux Systems"); ?> provides the server and
bandwidth that run various services for php.net.
</p>
<p>
And special thanks to all the companies who donate server space and bandwidth to host
our international array of <? print_link("/mirrors.php", "mirror sites");?>.
our international array of <?php print_link("/mirrors.php", "mirror sites");?>.
</p>
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -114,9 +114,7 @@ example, try typing "php file upload" in your browser.
</OL>
<? tipTitle('Adding the Quick Reference to Netscape on Linux', 'David Rose', '28-Jul-2000'); ?>
<?php tipTitle('Adding the Quick Reference to Netscape on Linux', 'David Rose', '28-Jul-2000'); ?>
<P>
Further to the example above for Windows/IE users, here's something Linux folk can do:
@@ -141,8 +139,7 @@ Netscape will open the proper URL for you.
</OL>
<? tipTitle('Quick Reference for Gnome Users', 'Benjamin Curtis', '29-Jul-2000'); ?>
<?php tipTitle('Quick Reference for Gnome Users', 'Benjamin Curtis', '29-Jul-2000'); ?>
<P>
Here's another search option for Linux users who use Gnome. This is a macro
@@ -162,6 +159,4 @@ gnome-moz-remote --newwin http://www.php.net/manual-lookup.php?function=$(echo <
</P>
<?
commonFooter();
?>
<?php commonFooter(); ?>

22
tut.php
View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader('PHP Tutorial');
@@ -25,7 +25,7 @@ things.
<h2>Your first PHP-enabled page</h2>
Create a file named <i>hello.php</i> and in it put the following lines:
<?example('<html><head><title>PHP Test</title></head>
<?php example('<html><head><title>PHP Test</title></head>
<body>
<?php echo "Hello World<p>"; ?>
</body></html>
@@ -50,19 +50,19 @@ the person viewing the page is using. In order to do that we check the user age
that the browser sends as part of its request. This information is stored in a variable.
Variables always start with a dollar-sign in PHP. The variable we are interested in is
<b>$HTTP_USER_AGENT</b>. To display this variable we can simply do:
<?example('<?php echo $HTTP_USER_AGENT; ?>')?>
<?php example('<?php echo $HTTP_USER_AGENT; ?>')?>
For the browser that you are using right now to view this page, this displays:
<blockquote><?php echo $HTTP_USER_AGENT; ?></blockquote>
There are many other variables that are automatically set by your web server. You can get a
complete list of them by creating a file that looks like this:
<?example('<?php phpinfo(); ?>');?>
<?php example('<?php phpinfo(); ?>');?>
Then load up this file in your browser and you will see a page full of information about PHP along with
a list of all the variables available to you.<P>
You can put multiple PHP statements inside a PHP tag and create little blocks of code that do
more than just a single echo. For example, if we wanted to check for Internet Explorer we could
do something like this:
<?example('<?php
<?php example('<?php
if(strstr($HTTP_USER_AGENT,"MSIE")) {
echo "You are using Internet Explorer<br>";
}
@@ -78,7 +78,7 @@ $HTTP_USER_AGENT. If the string is found the function returns true and if it is
If it returns true the following statement is executed.<P>
We can take this a step further and show how you can jump in and out of PHP mode even in the middle of
a PHP block:
<?example('<?php
<?php example('<?php
if(strstr($HTTP_USER_AGENT,"MSIE")) {
?>
<center><b>You are using Internet Explorer</b></center>
@@ -97,11 +97,11 @@ viewer. Running this script right now results in:<P>
if(strstr($HTTP_USER_AGENT,"MSIE")) {
?>
<center><b>You are using Internet Explorer</b></center>
<?
<?php
} else {
?>
<center><b>You are not using Internet Explorer</b></center>
<?
<?php
}
?>
<h2>Dealing with Forms</h2>
@@ -109,7 +109,7 @@ One of the most powerful features of PHP is the way it handles HTML forms. The
is important to understand is that any form element in a form will automatically result in a variable
with the same name as the element being created on the target page. This probably sounds confusing, so
here is a simple example. Assume you have a page with a form like this on it:
<?example('<form action="action.php" method="post">
<?php example('<form action="action.php" method="post">
Your name: <input type="text" name="name">
You age: <input type="text" name="age">
<input type="submit">
@@ -117,7 +117,7 @@ You age: <input type="text" name="age">
There is nothing special about this form. It is a straight HTML form with no special tags of any kind.
When the user fills in this form and hits the submit button, the <i>action.php</i> page is called. In this
file you would have something like this:
<?example('Hi <?php echo $name; ?>.
<?php example('Hi <?php echo $name; ?>.
You are <?php echo $age; ?> years old.')?>
It should be obvious what this does. There is nothing more to it. The $name and $age variables are
automatically set for you by PHP.
@@ -137,4 +137,4 @@ Here is a list of other excellent PHP tutorials:
<li><a href="http://www.zend.com/zend/tut/">Zend</a></li>
</ul>
<? commonfooter(); ?>
<?php commonfooter(); ?>

View File

@@ -1,4 +1,4 @@
<?
<?php
require_once 'prepend.inc';
commonHeader("PHP Usage Stats");
?>
@@ -10,13 +10,13 @@ PHP: 6280233 Domains, 941419 IP Addresses<br>
Source: <a href="http://www.netcraft.com/Survey/">Netcraft</a><br>
<p>
<? echo print_image("stats/phpstats-200105.gif", "Graph"); ?>
<?php echo print_image("stats/phpstats-200105.gif", "Graph"); ?>
</p>
<p>
You can also see how popular PHP is relative to other Apache modules
at <? print_link("http://www.securityspace.com/s_survey/", "E-Soft Inc.'s Web Survey"); ?>.
at <?php print_link("http://www.securityspace.com/s_survey/", "E-Soft Inc.'s Web Survey"); ?>.
Spoiler: PHP is the most popular.
</p>
<? commonFooter(); ?>
<?php commonFooter(); ?>

View File

@@ -1,3 +1 @@
<?
print phpversion();
?>
<?php print phpversion(); ?>