1
0
mirror of https://github.com/php/web-php.git synced 2026-03-31 03:32:23 +02:00
Files
archived-web-php/index.php
2007-02-05 14:28:26 +00:00

471 lines
19 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!
*/
/* ------------------------------------------------------------------------- */
// Get the modification date of this PHP file
$timestamps = array(@getlastmod());
/*
The date of prepend.inc represents the age of ALL
included files. Please touch it if you modify any
other include file (and the modification affects
the display of the index page). The cost of stat'ing
them all is prohibitive. Also note the file path,
we aren't using the include path here.
*/
$timestamps[] = @filemtime("include/prepend.inc");
// Calendar is the only "dynamic" feature on this page
$timestamps[] = @filemtime("include/pregen-events.inc");
// The latest of these modification dates is our real Last-Modified date
$timestamp = max($timestamps);
// Note that this is not a RFC 822 date (the tz is always GMT)
$tsstring = gmdate("D, d M Y H:i:s ", $timestamp) . "GMT";
// Check if the client has the same page cached
if (isset($_SERVER["HTTP_IF_MODIFIED_SINCE"]) &&
($_SERVER["HTTP_IF_MODIFIED_SINCE"] == $tsstring)) {
header("HTTP/1.1 304 Not Modified");
exit();
}
// Inform the user agent what is our last modification date
else {
header("Last-Modified: " . $tsstring);
}
$_SERVER['BASE_PAGE'] = 'index.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-events.inc';
// This goes to the left sidebar of the front page
$SIDEBAR_DATA = '
<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 <a href="/tut.php">introductory tutorial</a>.
After that, check out the online <a href="/docs.php">manual</a>,
and the example archive sites and some of the other resources
available in the <a href="/links.php">links section</a>.
</p>
<p>
Ever wondered how popular PHP is? see the
<a href="/usage.php">Netcraft Survey</a>.
</p>
<h3><a href="/thanks.php">Thanks To</a></h3>
<ul class="simple">
<li><a href="http://www.easydns.com/?V=698570efeb62a6e2" title="DNS Hosting provided by easyDNS">easyDNS</a></li>
<li><a href="http://www.directi.com/">Directi</a></li>
<li><a href="http://promote.pair.com/direct.pl?php.net">pair Networks</a></li>
<li><a href="http://www.ev1servers.net/">EV1Servers</a></li>
<li><a href="http://www.servercentral.net/">Server Central</a></li>
<li><a href="http://www.hostedsolutions.com/">Hosted Solutions</a></li>
<li><a href="http://www.spry.com/">Spry VPS Hosting</a></li>
<li><a href="http://ez.no/">eZ systems</a> / <a href="http://www.hit.no/english">HiT</a></li>
<li><a href="http://www.osuosl.org">OSU Open Source Lab</a></li>
<li><a href="http://www.emini.dk/">Emini</a> A/S</li>
<li><a href="http://www.yahoo.com/">Yahoo! Inc.</a></li>
<li><a href="http://www.binarysec.com/">BinarySEC</a></li>
</ul>
<h3>Related sites</h3>
<ul class="simple">
<li><a href="http://www.apache.org/">Apache</a></li>
<li><a href="http://www.mysql.com/">MySQL</a></li>
<li><a href="http://www.postgresql.org/">PostgreSQL</a></li>
<li><a href="http://www.zend.com/">Zend Technologies</a></li>
</ul>
<h3>Community</h3>
<ul class="simple">
<li><a href="http://www.linuxfund.org/">LinuxFund.org</a></li>
<li><a href="http://www.ostg.com/">OSTG</a></li>
</ul>
<h3>Syndication</h3>
<p>
You can grab our news as an RSS feed via a daily dump in a file
named <a href="/news.rss">news.rss</a>.
</p>';
$MIRROR_IMAGE = '';
// Try to find a sponsor image in case this is an official mirror
if (is_official_mirror()) {
// Iterate through possible mirror provider logo types in priority order
$types = array("gif", "jpg", "png");
while (list(,$ext) = each($types)) {
// Check if file exists for this type
if (file_exists("backend/mirror." . $ext)) {
// Add text to rigth sidebar
$MIRROR_IMAGE = "<div align=\"center\"><h3>This mirror sponsored by:</h3>\n";
// Create image HTML code
$img = make_image(
'mirror.' . $ext,
htmlspecialchars(mirror_provider()),
FALSE,
FALSE,
'backend',
0
);
// Add size information depending on mirror type
if (is_primary_site() || is_backup_primary()) {
$img = resize_image($img, 125, 125);
} else {
$img = resize_image($img, 120, 60);
}
// End mirror specific part
$MIRROR_IMAGE .= '<a href="' . mirror_provider_url() . '">' .
$img . "</a></div><br /><hr />\n";
// We have found an image
break;
}
}
}
// Prepend mirror image to sidebar text
$RSIDEBAR_DATA = $MIRROR_IMAGE . $RSIDEBAR_DATA;
// Write out common header
site_header("Hypertext Preprocessor", array('onload' => 'boldEvents();', 'headtags' => '<link rel="alternate" type="application/rss+xml" title="PHP: Hypertext Preprocessor" href="' . $MYSITE . 'news.rss" />'));
// DO NOT REMOVE THIS COMMENT (the RSS parser is dependant on it)
?>
<?php news_image('http://php.net/manual/en/','php-logo.gif','The PHP Manual'); ?>
<h1>PHP Manual Updates</h1>
<p>
<span class="newsdate">[03-Feb-2007]</span>
The PHP documentation team is proud to present to the PHP community a few
fixes and tweaks to the <a href="http://php.net/manual/en/">PHP Manual</a>,
including:
<ul>
<li>an improved, XSL-based build system that will deliver compiled manuals
to mirrors in a more timely manner (goodbye dsssl)</li>
<li>manual pages can now contain images (see
<code><a href="http://php.net/en/function.imagearc">imagearc()</a></code>
for an example)</li>
<li>updated function version information and capture system (fewer
"no version information, might be only in CVS" messages)</li>
<li>... and more to come!</li>
</ul>
</p>
<p>
Please <a href="http://php.net/about.howtohelp">help us improve the documentation</a> by <a href="http://bugs.php.net/">submitting bug reports</a>, and adding notes to undocumented functions.
</p>
<hr />
<?php news_image("http://conferences.oreillynet.com/os2007/", "os2007.gif", "OSCON Open Source Convention"); ?>
<h1> O'Reilly OSCON call for papers</h1>
<p>
<span class="newsdate">[29-Jan-2007]</span>
The O'Reilly Open Source Convention 2007 will once again take place from July 23rd - 27th 2007
in Portland, Oregon, and has a PHP track as usual. The Call for Papers closes Monday February 5 2007. You can find more information at <a href="http://conferences.oreillynet.com/os2007/" title="O'Reilly Open Source Convention 2007">http://conferences.oreillynet.com/os2007/</a>.
</p>
<hr />
<?php news_image("http://phpconference.com/", "intcon2007spring.png", "International PHP Conference 2007 Spring Edition"); ?>
<h1>International PHP Conference 2007 Spring Edition : Call for Paper</h1>
<p>
<span class="newsdate">[24-Jan-2007]</span>
The International PHP Conference 2007 Spring Edition will happen from May, 21st to 23rd 2007
in Stuttgart. The Call for Papers has just been opened. You can find more information at
<a href="http://phpconference.com/" title="International PHP Conference 2007 Spring Edition">http://phpconference.com/</a>.
There's a pre-conference day on 21st of May with full day Power Workshops and
a Main Conference from 22nd to 23rd of May with 1 hour sessions.
</p>
<p>
Please submit your session proposals at
<a href="http://phpconference.com/input" title="International PHP Conference 2007 Spring Edition - Call for Paper">http://phpconference.com/input</a>.
They will be voted by the Chair board consisting of Björn Schotte (Head of Chair),
Christopher Kunz and Sebastian Meyen. The language for talks is both English and German.
</p>
<hr />
<?php news_image("http://www.phpconference.co.uk/", "phplondon2007.png", "PHP London 2007"); ?>
<h1>PHP London 2007</h1>
<p>
<span class="newsdate">[18-Jan-2007]</span>
After the success of 2006 the <a href="http://www.phplondon.org/">PHP London user group</a> is staging the <a href="http://www.phpconference.co.uk/">UK's second dedicated PHP conference</a> on Friday, 23 February 2007, in London. The conference will be a low-cost event, costing &#163;50 for the day. Speakers include: Rasmus Lerdorf, Cal Evans, Simon Laws and Kevlin Henney.
</p>
<hr />
<?php news_image("http://www.phparch.com/tek", "phptek2007.png", "php|tek 2007"); ?>
<h1>php|tek 2007</h1>
<p>
<span class="newsdate">[12-Jan-2007]</span>
php|architect is proud to announce <a href="http://www.phparch.com/tek">php|tek 2007</a>, which will take place in Chicago, Illinois (USA) on May 16-18, 2007.
</p>
<p>
This year, the conference once again promises to be an excellent event for PHP developers of all levels, with talks from top PHP experts such as Rasmus Lerdorf, Chris Shiflett, Andrei Zmievski, Ilia Alshanetsky, Sara Golemon, and many more.
</p>
<hr />
<?php news_image("http://vancouver.php.net/", "vancouver_conference_2007.gif", "PHP Vancouver 2007"); ?>
<h1>Vancouver PHP Conference</h1>
<p>
<span class="newsdate">[21-Dec-2006]</span>
The <a href="http://vancouver.php.net/">Vancouver PHP User Group</a> is pleased
to announce their second PHP Conference in Vancouver, B.C., Canada on
February 12-13, 2007. The
<a href="http://vancouver.php.net/confschedule">schedule</a> is now online.
</p>
<p>
<a href="http://vancouver.php.net/register">Register</a> by Dec. 31, 2006
and get 1/3rd off the ticket price. Regular price is $150CDN, early bird price $100CDN.
</p>
<hr />
<?php news_image("http://www.prophp.com.br/phpconference.php", "phpconfbrasil.jpg", "PHP Brasil 2007"); ?>
<h1>PHP Conference Brazil</h1>
<p>
<span class="newsdate">[27-Nov-2006]</span>
The PHP Conference Brasil is the first Brazilian conference related exclusively
to the PHP language in Sao Paulo, on December 1st and 2nd, 2006.
</p>
<p>
It will be a
great opportunity to establish a sustainable Brazilian PHP community and to
exchange ideas among our professionals.
More info is available at
<a href="http://www.prophp.com.br/phpconference.php">the Brazilian PHP Conference</a> Web site.
</p>
<hr />
<h1>PHP 5.2.0 Released</h1>
<p>
<span class="newsdate">[02-Nov-2006]</span>
The PHP development team is proud to announce the immediate release of PHP
5.2.0. This release is a major improvement in the 5.X series, which includes a
large number of new features, bug fixes and security enhancements.
Further details about this release can be found in the release announcement
<a href="/releases/5_2_0.php">5.2.0</a>, the full list of changes is
available in the ChangeLog <a href="/ChangeLog-5.php#5.2.0">PHP 5</a>.
</p>
<p>
All users of PHP, especially those using earlier PHP 5 releases are advised
to upgrade to this release as soon as possible. This release also obsoletes
the 5.1 branch of PHP.
</p>
<p>
For users upgrading from PHP 5.0 and PHP 5.1 there is an upgrading guide
available <a href="/UPDATE_5_2.txt">here</a>, detailing the changes between those releases
and PHP 5.2.0.
</p>
<hr />
<?php news_image("http://conf.phpquebec.com/en/conf2007/", "conference_php_quebec.gif", "Conference PHP Québec 2007"); ?>
<h1>PHP Québec 2007 - Call for Papers</h1>
<p>
<span class="newsdate">[03-Nov-2006]</span>
PHP Québec is pleased to announce the 2007 PHP Québec conference. The
conference will take place in Montreal, Canada on March 14-15-16th 2007. We are
looking for the best speakers willing to share their experience and skills
with professional PHP developers from eastern Canada and the United States.
</p>
<p>
This year, the conference will feature 3 distinct tracks:
<ul>
<li>Advanced Techniques: Providing in-depth details of PHP techniques</li>
<li>Data Availability: Databases, XML, Web Services, VOIP, TOIP, WAP, etc</li>
<li>PHP Beyond theory: Real solutions for real problems related to software
development and project management</li>
</ul>
For more information, please visit the <a
href="http://conf.phpquebec.com/en/conf2007/">conference website</a>.
<hr />
<?php news_image("http://www.phparch.com/tek", "phptek2007.png", "php|tek 2007"); ?>
<h1>php|tek 2007 Chicago - Call for Papers</h1>
<p>
<span class="newsdate">[24-Oct-2006]</span>
php|architect magazine is proud to announce
<a href="http://www.phparch.com/tek">php|tek 2007</a>, an exclusive three-day
conference (plus one day of exclusive in-depth seminars) dedicated to the
world of PHP-driven software development. This year's conference will take
place from May 16-18 2007, in Chicago, Illinois (USA), with May 15th set aside
for a set of in-depth seminars.
</p>
<p>
Do you have unique insight into PHP? Have you written extensions, or
contributed to the core? Have you deployed PHP in a tough environment, or
scaled it to handle millions of hits per minute? Have you solved a unique
problem, and want to share your discovery? Perhaps you've become an expert
in a specific field? If so, php|architect wants you to speak at
php|tek.
</p>
<p>
For more information, please visit the
<a href="http://hades.phparch.com/ceres/public/tek/page/index.php/cfp">
Call for Papers</a> page, and submit your ideas. The deadline is November
20th, 2006.
</p>
<hr />
<h1>Vancouver PHP Conference Call For Speakers</h1>
<p>
<span class="newsdate">[13-Oct-2006]</span>
The <a href="http://vancouver.php.net">Vancouver PHP User Group</a> is pleased
to announce their second PHP Conference in Vancouver, B.C., Canada on February 12-13, 2007.
If you are interested in participating as a speaker or sponsor,
please email Shane Caraveo at shanec AT ActiveState DOT com.
</p>
<hr />
<?php news_image("http://www.afup.org/forumphp/", "afup2006.jpg", "AFUP Paris 2006"); ?>
<h1>Forum PHP in Paris, France, November 9 &amp; 10th, 2006</h1>
<p>
<span class="newsdate">[04-Oct-2006]</span>
The <a href="http://afup.org/">French AFUP association</a> is proud to announce
the <a href="http://afup.org/forumphp/">fifth annual PHP</a> meeting
in Paris, on November 9th and 10th, 2006. Developers and managers will gather
to meet Rasmus Lerdorf, Andrei Zmievski and other prominent community experts
for two days of sessions, packed with enterprise solutions and
advanced techniques (in French).
</p>
<hr />
<?php news_image("http://www.zendcon.com/", "zend_phpconf06.png", "Zend / PHP Conference &amp; Expo 2006"); ?>
<h1>Zend / PHP Conference &amp; Expo 2006</h1>
<p>
<span class="newsdate">[13-Sep-2006]</span>
The <a href="http://www.zendcon.com">Zend / PHP Conference &amp; Expo 2006</a>
has an Early Bird registration special available before September 15.
Use the 'earlybird' code, available on the site, and receive a $795 registration
price.
</p>
<p>
The conference has announced a great line-up of speakers, including Chris Anderson,
author of The Long Tail and editor-in-chief at Wired Magazine, r0ml,
open source strategist, and Matthew Rechs, CTO of interactive agency,
Schematic. There's a great line-up of speakers
<a href="http://www.zendcon.com/speakers_temp.php">available</a>.
</p>
<hr />
<?php news_image("http://phpconference.com/", "intconf2006fall.png", "International PHP Conference 2006"); ?>
<h1>International PHP Conference 2006</h1>
<p>
<span class="newsdate">[10-Sep-2006]</span>
Software &amp; Support media is pleased to announce the
<a href="http://www.phpconference.com/">International PHP Conference 2006</a>.
It will happen from Nov. 05 to Nov. 08, 2006 at Frankfurt/Main.
This year's sessions include topics on Security, PHP Internals,
PHP &amp; Business and Webservice topics. The Call for Papers has
been closed and the programme is now online.
</p>
<p>
On Nov. 05 and Nov. 06 there will be 6-hour PowerWorkshops that
deliver hands-on PHP knowledge. A Management Day, dedicated to
Managers who want to get informed about the usage of PHP, contains
several sessions about the usage of PHP in large companies. The
"PHP Code Camp @ Nite" with PHP Core Devs Marcus Börger and Sara
Golemon. They go through from PHP basics to PHP OOP and implementing
your own PHP extension. Delicious pizza and beer will do the rest.
Registration is now open.
</p>
<hr />
<?php news_image("http://dcphpconference.com/", "dcphpconference.png", "2006 DC PHP Conference"); ?>
<h1>2006 DC PHP Conference - Speakers and schedule</h1>
<p>
<span class="newsdate">[06-Sep-2006]</span>
The <a href="http://www.dcphpconference.com">2006 DC PHP Conference</a> group
is pleased to announce our <a href="http://www.dcphpconference.com/schedule.php">
speaker and schedule lineup</a>. The conference is taking place in downtown
Washington, DC, USA at the L'Enfant Plaza Hotel, October 19-20, 2006. There
will be presentations and networking opportunities in the heart
of the public sector.
</p>
<hr />
<h1>PHP 5.1.6 Released</h1>
<p>
<span class="newsdate">[24-Aug-2006]</span>
The PHP development team would like to announce the immediate availability of
PHP <a href="/downloads.php#v5">5.1.6</a>. This release contains a fix for
memory_limit restriction on 64 bit systems that was not included in PHP 5.1.5.
</p>
<hr />
<?php news_image("http://www.amazon.com/exec/obidos/ASIN/0596528124/wwwphpnet", "mre3cover_sm.jpg", "Mastering Regular Expressions, 3rd edition"); ?>
<h1>Mastering Regular Expressions - now with PHP coverage</h1>
<p>
<span class="newsdate">[24-Aug-2006]</span>
The third edition of
<a href="http://www.amazon.com/exec/obidos/ASIN/0596528124/wwwphpnet">Mastering Regular Expressions</a>
is finally out and includes a full 48-page chapter on PHP. This is an excellent
resource from Jeffrey Friedl who has been writing about regexps for years.
</p>
<hr />
<h1>PHP 4.4.4 and PHP 5.1.5 Released</h1>
<p>
<span class="newsdate">[17-Aug-2006]</span>
The PHP development team would like to announce the immediate availability of
PHP <a href="/downloads.php#v5">5.1.5</a> and <a
href="/downloads.php#v4">4.4.4</a>. These two releases address a series of
security problems that were discovered since the release of PHP 5.1.4 and
4.4.3. The new releases include the following changes:
</p>
<ul>
<li>Added missing safe_mode/open_basedir checks inside the error_log(),
file_exists(), imap_open() and imap_reopen() functions.</li>
<li>Fixed overflows inside str_repeat() and wordwrap() functions on 64bit
systems.</li>
<li>Fixed possible open_basedir/safe_mode bypass in cURL extension and on PHP
5.1.5 with realpath cache.</li>
<li>Fixed overflow in GD extension on invalid GIF images.</li>
<li>Fixed a buffer overflow inside sscanf() function.</li>
<li>Fixed an out of bounds read inside stripos() function.</li>
<li>Fixed memory_limit restriction on 64 bit system.</li>
</ul>
<p>
Further details about this release can be found in the release announcements
(<a href="/release_5_1_5.php">5.1.5</a> and
<a href="/release_4_4_4.php">4.4.4</a>), and the full list of changes is
available in the ChangeLogs (<a href="/ChangeLog-4.php#4.4.4">PHP 4</a>,
<a href="/ChangeLog-5.php#5.1.5">PHP 5</a>).
</p>
<hr />
<p class="center"><a href="/archive/index.php">News Archive</a></p>
<?php site_footer();