mirror of
https://github.com/php/web-php.git
synced 2026-03-31 03:32:23 +02:00
208 lines
7.2 KiB
PHP
208 lines
7.2 KiB
PHP
<?php
|
|
/* if you're reading this, it isn't because you've found a security hole.
|
|
this is an open source website. read and learn! */
|
|
|
|
header("Cache-Control: public, max-age=600");
|
|
|
|
require_once 'prepend.inc';
|
|
|
|
$SIDEBAR_DATA = '
|
|
<br>
|
|
<h3>What is PHP?</h3>
|
|
|
|
<p>
|
|
<acronym title="recursive acronym for PHP: Hypertext Preprocessor">PHP</acronym>
|
|
is a widely-used general-purpose scripting language that is
|
|
especially suited for Web development and can be embedded into HTML.
|
|
If you are new to PHP and want to get some idea
|
|
of how it works, try the ' . make_link("/tut.php", "introductory tutorial") . '.
|
|
After that, check out the online ' . make_link("/docs.php", "manual") . ',
|
|
and the example archive sites and some of the other resources
|
|
available in the ' . make_link("/links.php", "links section") . '.
|
|
</p>
|
|
|
|
<p>
|
|
Ever wondered how popular PHP is? see the ' .
|
|
make_link("/usage.php", "Netcraft Survey") . '.
|
|
</p>
|
|
|
|
<p>
|
|
PHP is a project of the ' .
|
|
make_link("http://www.apache.org/","Apache Software Foundation") . '.
|
|
</p>
|
|
|
|
<h3>' . make_link("/thanks.php", "Thanks To") . '</h3>
|
|
' . make_link("http://www.easydns.com/?V=698570efeb62a6e2", "easyDNS") . '<br>
|
|
' . make_link("http://www.pair.com/", "pair Networks") . '<br>
|
|
' . make_link("http://www.rackspace.com/?supbid=php.net", "Rackspace") . '<br>
|
|
' . make_link("http://www.synacor.com/", "Synacor") . '<br>
|
|
' . make_link("http://vasoftware.com/", "VA Software Corporation") . '<br>
|
|
<h3>Related sites</h3>
|
|
' . make_link("http://www.apache.org/", "Apache") . '<br>
|
|
' . make_link("http://www.mysql.com/", "MySQL") . '<br>
|
|
' . make_link("http://www.postgresql.org/", "PostgreSQL") . '<br>
|
|
' . make_link("http://www.zend.com/", "Zend Technologies") . '<br>
|
|
<h3>Community</h3>
|
|
' . make_link("http://www.linuxfund.org/", "LinuxFund.org") . '<br>
|
|
' . make_link("http://www.osdn.org/", "OSDN") . '<br>
|
|
|
|
<h3>Contact</h3>
|
|
|
|
<p>
|
|
Please submit website bugs in the ' .
|
|
make_link('http://bugs.php.net/', 'bug system') . '.
|
|
</p>
|
|
<p>
|
|
You can contact the webmaster at ' .
|
|
make_link('mailto:webmaster@php.net', 'webmaster@php.net') . '.
|
|
</p>
|
|
';
|
|
|
|
$fp = @fopen("backend/events.csv",'r');
|
|
if($fp) {
|
|
$cm=0;
|
|
while(!feof($fp)) {
|
|
list($d,$m,$y,$url,$desc,$id) = fgetcsv($fp,8192);
|
|
if($cm!=(int)$m) {
|
|
if($cm) $RSIDEBAR_DATA.= "<br />\n";
|
|
else $RSIDEBAR_DATA.='<h3>Upcoming Events<br /> <a href="submit-event.php">[add event]</a></h3>';
|
|
$cm = (int)$m;
|
|
$RSIDEBAR_DATA .= "<h4>".strftime('%B',mktime(12,0,0,$cm,$d,$y))."</h4>\n";
|
|
unset($seen);
|
|
}
|
|
if(!$seen[$desc]) {
|
|
$RSIDEBAR_DATA .= "$d. <a href=\"cal.php?id=$id\">$desc</a><br>\n";
|
|
$seen[$desc] = true;
|
|
}
|
|
}
|
|
fclose($fp);
|
|
}
|
|
|
|
commonHeader("Hypertext Preprocessor");
|
|
echo "\n<!--$MYSITE-->\n";
|
|
?>
|
|
|
|
<h1>PHP 4.2.0 released</h1>
|
|
<p>
|
|
<font class="newsDate">[22-Apr-2002]</font>
|
|
The PHP Group is happy to announce the
|
|
<?php print_link ("/downloads.php", "immediate availability"); ?>
|
|
of PHP 4.2.0, the latest version of the widely-used, general-purpose scripting language
|
|
that is especially well-suited for Web development.</p>
|
|
|
|
<p>This latest release contains over one hundred changes, bug fixes and improvements over
|
|
the previous release, PHP 4.1.2. Among the highlights are experimental support for Apache 2,
|
|
cleanups in variable handling and overhauls of various PHP components, including the
|
|
domxml, posix, sockets and iconv extensions. For more information, see the
|
|
<?php print_link ("/release_4_2_0.php", "PHP 4.2.0 release announcement"); ?>.
|
|
</p>
|
|
|
|
<?php echo hdelim(); ?>
|
|
|
|
<?php print_link("http://weblabor.hu/php-doc-chm", make_image("chmhelp.gif", "CHM", "right") ); ?>
|
|
|
|
<h1>Fifth sample of 'PHP Manual CHM Edition'</h1>
|
|
|
|
<p>
|
|
<font class="newsDate">[20-Apr-2002]</font>
|
|
We released the fifth sample of the new CHM Edition. New in
|
|
this sample: user preferences application, a new optional
|
|
design, custom context menu support, linked functions
|
|
in examples, and of course updated content.
|
|
</p>
|
|
|
|
<p>
|
|
<?php print_link("http://weblabor.hu/php-doc-chm", "Try out the new CHM Edition"); ?>,
|
|
and send us your feedback to our
|
|
<?php print_link("mailto:php-doc-chm@lists.php.net", "dedicated mailing list"); ?>.
|
|
</p>
|
|
|
|
<?php echo hdelim(); ?>
|
|
|
|
<?php echo make_image("phpmag.gif", "PHP Magazin", "right"); ?>
|
|
|
|
<h1>PHP Magazin out now!</h1>
|
|
<p>
|
|
<font class="newsDate">[26-Mar-2002]</font>
|
|
The Software & Support Verlag, based in Frankfurt,
|
|
Germany, has now published a magazine on PHP as a
|
|
tribute to the steadily growing German PHP community.
|
|
More information can be found at
|
|
<a href="http://www.phpmag.de/">www.phpmag.de</a>.
|
|
|
|
<?php echo hdelim(); ?>
|
|
|
|
<h1>New PHP.net URL Howto</h1>
|
|
<p>
|
|
<font class="newsDate">[23-Mar-2002]</font>
|
|
Ever wondered what you can type in your browsers location
|
|
field to access a php.net page? Many of you already know
|
|
<a href="http://php.net/echo">http://php.net/echo</a>.
|
|
We gathered some information about how the URLs are parsed,
|
|
and what are your possibilities. Read it in our new
|
|
<a href="urlhowto.php">URL Howto</a>.
|
|
|
|
<?php echo hdelim(); ?>
|
|
|
|
<?php echo make_image("brain.gif", "PHPDoc Brain", "right"); ?>
|
|
|
|
<h1>PHP Documentation Team Meeting</h1>
|
|
<p>
|
|
<font class="newsDate">[13-Mar-2002]</font>
|
|
The <?php print_link('http://www.php-ev.de/documents/phpdoc/protocol.html',
|
|
'notes from the PHP Documentation Team Meeting'); ?> (Stuttgart, March
|
|
8th-10th) are now available.
|
|
Pictures of the event are currently not available.
|
|
</p>
|
|
|
|
<?php echo hdelim(); ?>
|
|
|
|
<h1>PHP Security Update - Windows Version</h1>
|
|
<p>
|
|
<font class="newsDate">[12-Mar-2002]</font>
|
|
Following up from the previous annoucement, PHP 4.1.2 has been released for
|
|
windows. The delayed release is due to the fix of a further security issue only
|
|
relating to the PHP for Windows version. More information on this change can be
|
|
found <?php print_link('/release_4_1_2_win32.php', 'here'); ?>. All PHP -
|
|
Windows users are encouraged to upgrade to the <?php
|
|
print_link('/downloads.php', 'latest version'); ?>.
|
|
</p>
|
|
|
|
<?php echo hdelim(); ?>
|
|
|
|
<h1>PHP Security Update</h1>
|
|
<p>
|
|
<font class="newsDate">[27-Feb-2002]</font>
|
|
Due to a security issue found in all versions of PHP (including 3.x and 4.x), a
|
|
new version of PHP has been released. Details about the security issue are <a
|
|
href="http://security.e-matters.de/advisories/012002.html">available here</a>.
|
|
All users of PHP are strongly encouraged to either upgrade to <a
|
|
href="/downloads.php">PHP 4.1.2</a>, or install the patch (<a
|
|
href="/downloads.php">available for PHP 3.0.18, 4.0.6 and 4.1.0/4.1.1)</a>.
|
|
</p>
|
|
|
|
<?php echo hdelim(); ?>
|
|
|
|
<h1>PHP-GTK 0.5.0 released</h1>
|
|
|
|
<p>
|
|
<font class="newsDate">[24-Jan-2002]</font>
|
|
<?php print_link("http://gtk.php.net/", "PHP-GTK"); ?> has reached version
|
|
0.5.0, also known as <em>"monday starts on saturday"</em>. The version number
|
|
was bumped from 0.1.1 to this one to indicate that PHP-GTK is now a fairly
|
|
mature and stable extension and can be used for a variety of applications
|
|
(just look on <?php print_link("http://www.freshmeat.net/", "Freshmeat"); ?>).
|
|
</p>
|
|
|
|
<p>
|
|
Also taking this opportunity, we would like to ask if some of you would
|
|
consider helping out with PHP-GTK documentation. It would be a great way to
|
|
learn this exciting extension and also contribute to the project.
|
|
</p>
|
|
|
|
<?php echo hdelim(); ?>
|
|
|
|
<p align="center"><a href="/news.php">Old News</a></p>
|
|
|
|
<?php commonFooter(); ?>
|