diff --git a/bugs.php3 b/bugs.php3
index 55c7d53b4..5c4aef5e6 100644
--- a/bugs.php3
+++ b/bugs.php3
@@ -3,9 +3,9 @@
/* See the end of the script for the table layout. */
-$title="PHP3 Bug Database";
-require "include/header.inc";
-
+require("shared.inc");
+commonHeader("PHP3 Main Page");
+echo "\n";
$destination = "php-dev@php.iquest.net";
#$destination = "rasmus@lerdorf.on.ca";
@@ -420,8 +420,10 @@ Please supply any information that may be helpful in fixing the bug:
} ?>
-
- require("include/footer.inc"); ?>
+
+
+commonFooter();
+?>
/*
# MySQL dump 4.0
diff --git a/credits.php3 b/credits.php3
index 7ffe149b8..110653145 100644
--- a/credits.php3
+++ b/credits.php3
@@ -1,9 +1,154 @@
-$mod = GMDate("D, d M Y H:i:s",filemtime("CREDITS"));
- Header("Last-Modified: $mod GMT"); ?>
-
PHP3 Credits
-$title="PHP3 Credits";
- include "include/header.inc";
- ReadFile("CREDITS");
- echo "
";
- include("include/footer.inc");
+
+require("shared.inc");
+commonHeader("PHP 3.0 Development Credits");
+
+function makeMail($mail) {
+ echo "($mail)";
+};
+?>
+
+Core Developers
+
+
+Rasmus Lerdorf makeMail("rasmus@php.net");?>
+
+
+- Concept
+
- Original language definition and implementation
+
- CGI loader and many internal functions
+
- Apache module support
+
- SNMP module
+
- Original mSQL, MySQL and Sybase modules
+
- Project Coordinator
+
+ |
+
+
+
+
+
+Andi Gutmans makeMail("andi@php.net");?>
+&
+Zeev Suraski makeMail("zeev@php.net");?>
+
+
+- New language definition and implementation
+
- Internal functions API design
+
- General hash table implementation for symbol tables, arrays and objects
+
- Memory manager
+
- Token cache manager
+
- Several internal functions and migration from PHP 2.0
+
- Syntax highlighting mode
+
- Configuration file parser
+
- New persistent/multilink MySQL, PosgresSQL, Sybase and mSQL modules
+
+ |
+
+
+
+Stig Bakken makeMail("ssb@guardian.no");?>
+
+
+- Oracle support
+
- configure/install script work
+
- sprintf reimplementation
+
- SGML documentation framework
+
- Loadable font support
+
- ODBC work
+
+ |
+
+
+
+
+Shane Caraveo makeMail("shane@caraveo.com");?>
+
+
+- Porting to Visual C++
+
- Generalization to support different server APIs
+
- Work on ISAPI and NSAPI APIs
+
+
+ |
+
+
+
+
+Jim Winstead makeMail("jimw@php.net");?>
+
+
+- Lots of PHP2 -> PHP3 porting
+
- dBase support
+
- URL parsing functions
+
- Makefile work
+
- Regex rewrite
+
- Win32 work
+
+
+ |
+
+
+
+Major Contributors
+
+
+- Bjørn Borud makeMail("borud@guardian.no");?>
+
- soundex code and lots of enthusiasm
+
+ - Dean Gaudet makeMail("dgaudet@arctic.org");?>
+
- Apache module debugging + helpful hints along the way
+
+ - Mitch Golden makeMail("mgolden@interport.net");?>
+
- Oracle testing and bug fixes
+
+ - Simon Gornall makeMail("simon@oyster.co.uk");?>
+
+
+
- Mark Henderson makeMail("mark@togglemedia.com");?>
+
+
+
- Jaakko Hyvätti makeMail("jaakko@hyvatti.iki.fi");?>
+
- Prototype cop, regular expression code fixes and CGI security issues
+
+ - Andreas Karajannis makeMail("Andreas.Karajannis@gmd.de");?>
+
+
+
- Muhammad A Muquit makeMail("MA_Muquit@fccc.ed");?>
+
+
+
- Jeroen van der Most makeMail("jvdmost@digiface.nl");?>
+
+
+
- Chad Robinson makeMail("chadr@brttech.com");?>
+
+
+
- John Robinson makeMail("john@intelligent.co.uk");?>
+
+
+
- Lachlan Roche makeMail("lr@www.wwi.com.au");?>
+
+
+
- Brian Schaffner makeMail("brian@tool.net");?>
+
- ODBC Support, PHP3 API testing
+
+ - makeMail("sopwith@redhat.com");?>
+
+
+
- Adam Sussman makeMail("asussman@vidya.com");?>
+
+
+
- Colin Viebrock makeMail("cmv@privateworld.com");?>
+
- Website graphic design and layout, PHP logo
+
+ - Lars Torben Wilson makeMail("cslawi@uta.fi");?>
+
+
+
+
+Andi Gutmans and Zeev Suraski would like to thank Prof. Michael Rodeh for his
+positive input during the initial development of the interpreter.
+
+
+
+commonFooter();
?>
diff --git a/dev.php3 b/dev.php3
new file mode 100644
index 000000000..5a5666b2f
--- /dev/null
+++ b/dev.php3
@@ -0,0 +1,11 @@
+
+require("shared.inc");
+commonHeader("Development Resources");
+?>
+
+
+commonFooter();
+?>
diff --git a/docs.php3 b/docs.php3
new file mode 100644
index 000000000..9459e2ae2
--- /dev/null
+++ b/docs.php3
@@ -0,0 +1,28 @@
+
+require("shared.inc");
+commonHeader("Documentation ");
+?>
+
+
+
+- PHP 3.0 Manual Online.
+ This is an early version. A lot is still missing, but it is
+ improving.
+
+
- download_link("bigmanual.htm", "PHP 3.0 HTML Manual (one BIG file)"); ?>
+
+
- download_link("manual.zip", "PHP 3.0 HTML Manual ZIP File"); ?>
+
- download_link("manual.tar.gz", "PHP 3.0 HTML Manual .tar.gz File"); ?>
+
- download_link("manual.rtf", "PHP 3.0 Manual RTF File"); ?>
+
+
- PHP/FI 2.0 Manual. Until the new
+ manual is complete, you can get answers to many questions here.
+
+
- Read what has changed since PHP/FI 2.0
+
+
- A PHP3 FAQ has been started as well. Skim this
+ before asking questions.
+
+
+
+ commonFooter("") ?>
diff --git a/download-logos.php3 b/download-logos.php3
new file mode 100644
index 000000000..11e25333e
--- /dev/null
+++ b/download-logos.php3
@@ -0,0 +1,123 @@
+
+require("shared.inc");
+commonHeader("Download PHP Logos ");
+?>
+
+Right click on one of the images and select "Save Image As" to save the logo. Then, link it to the main PHP site at www.php.net.
+
+
+
+
+
+
+
+
+
+ |
+
+
+- 96 x 50 pixels
+
- transparent background
+
- suitable for white/light backgrounds
+
+ |
+
+
+
+
+
+ |
+
+
+- 96 x 50 pixels
+
- solid purple (#5B69A6) background
+
+ |
+
+
+
+
+
+ |
+
+
+- 96 x 50 pixels
+
- transparent background
+
- suitable for black/dark backgrounds
+
+ |
+
+
+
+
+
+ |
+
+
+- 88 x 31 pixels
+
- "Powered by PHP3" logo
+
- solid white background
+
+ |
+
+
+
+
+
+ |
+
+
+- 88 x 31 pixels
+
- "Powered by PHP3" logo
+
- transparent background
+
- suitable for white/light backgrounds
+
+ |
+
+
+
+
+
+ |
+
+
+- 88 x 31 pixels
+
- "Powered by PHP3" logo
+
- solid purple (#5B69A6) background
+
+ |
+
+
+
+
+
+ |
+
+
+- 88 x 31 pixels
+
- "Powered by PHP3" logo
+
- solid black background
+
+ |
+
+
+
+
+
+ |
+
+
+- 88 x 31 pixels
+
- "Powered by PHP3" logo
+
- transparent background
+
- suitable for black/dark backgrounds
+
+ |
+
+
+
+
+
+
+commonFooter();
+?>
diff --git a/download-php.php3 b/download-php.php3
new file mode 100644
index 000000000..fc3d88d46
--- /dev/null
+++ b/download-php.php3
@@ -0,0 +1,111 @@
+
+require("shared.inc");
+commonHeader("Download PHP Engine");
+?>
+Pick a mirror site close to you:
+(all mirrors are updated at least every hour)
+
+
+
+
+
+
+
|
+
+
+
+$mirror_sites=$MIRRORS;
+reset($mirror_sites);
+$lastc="";
+while ($site = key($mirror_sites)) {
+ next($mirror_sites);
+ $c=$mirror_sites[$site][0];
+ if ($c!=$lastc):
+ echo " ";
+ $lastc=$c;
+ endif;
+}
+?>
+
+ |
+
|
+
+
+$lastcountry="xxxxx";
+reset($mirror_sites);
+while ($site = key($mirror_sites)) {
+ next($mirror_sites);
+ $country=$mirror_sites[$site][0];
+ $location=$mirror_sites[$site][1];
+ if (eregi("^http://",$site)) {
+ $method="HTTP";
+ $srcdir="distributions/";
+ } elseif (eregi("^ftp://",$site)) {
+ $method="FTP";
+ $srcdir="";
+ } else {
+ $method="unknown";
+ }
+ if ($lastcountry!=$country) {
+ echo "
|
|
|
\n";
+ echo "\n";
+ echo " | \n";
+ echo "
| \n";
+ echo "";
+ spc(10,1);
+ echo "$COUNTRIES[$country]
| \n";
+ echo "
| \n";
+ echo "
\n";
+ $lastcountry=$country;
+ }
+ echo "
| \n";
+ echo "\n";
+ echo "\n";
+ if ((!isset($lastlocation))||($lastlocation!=$location)) {
+ echo("$location \n");
+ $lastlocation=$location;
+ }
+ echo "\n";
+ $src_file = "${site}${srcdir}php-${current}.tar.gz";
+ $win32_file = "${site}${srcdir}php-${win32_current}-win32.zip";
+ if (eregi("caraveo",$site)) { # special case ;-)
+ echo("- ");
+ download_link("${site}/php3latest.zip","Latest patched Windows version");
+ echo "\n";
+ } else {
+ echo "
- ";
+ download_link($src_file, "($method) PHP $current source");
+ echo "\n";
+ echo "
- ";
+ download_link($win32_file, "($method) $win32_current Win32 binary");
+ echo "\n";
+ }
+ echo("
\n | |
\n");
+}
+?>
+
|
|
|
+
+
|
+
+
+
+$mirror_sites=$MIRRORS;
+reset($mirror_sites);
+$lastc="";
+while ($site = key($mirror_sites)) {
+ next($mirror_sites);
+ $c=$mirror_sites[$site][0];
+ if ($c!=$lastc):
+ echo " ";
+ $lastc=$c;
+ endif;
+}
+?>
+
+ |
+
|
+
+
+
+commonFooter();
+?>
diff --git a/downloads.php3 b/downloads.php3
new file mode 100644
index 000000000..473ea36ad
--- /dev/null
+++ b/downloads.php3
@@ -0,0 +1,13 @@
+
+require("shared.inc");
+commonHeader("Downloads ");
+?>
+
+
+
+commonFooter();
+?>
diff --git a/gifs/b-bullet-c.gif b/gifs/b-bullet-c.gif
new file mode 100644
index 000000000..68c6cedaf
Binary files /dev/null and b/gifs/b-bullet-c.gif differ
diff --git a/gifs/b-bullet-p.gif b/gifs/b-bullet-p.gif
new file mode 100644
index 000000000..49d3b372a
Binary files /dev/null and b/gifs/b-bullet-p.gif differ
diff --git a/gifs/b-bullet-w.gif b/gifs/b-bullet-w.gif
new file mode 100644
index 000000000..4a49b8d7c
Binary files /dev/null and b/gifs/b-bullet-w.gif differ
diff --git a/gifs/b-close-c.gif b/gifs/b-close-c.gif
new file mode 100644
index 000000000..4267f4a86
Binary files /dev/null and b/gifs/b-close-c.gif differ
diff --git a/gifs/b-close-p.gif b/gifs/b-close-p.gif
new file mode 100644
index 000000000..6bc831ddd
Binary files /dev/null and b/gifs/b-close-p.gif differ
diff --git a/gifs/b-contents-c.gif b/gifs/b-contents-c.gif
new file mode 100644
index 000000000..a9221da80
Binary files /dev/null and b/gifs/b-contents-c.gif differ
diff --git a/gifs/b-contents-p.gif b/gifs/b-contents-p.gif
new file mode 100644
index 000000000..3b7370999
Binary files /dev/null and b/gifs/b-contents-p.gif differ
diff --git a/gifs/b-credits-c.gif b/gifs/b-credits-c.gif
new file mode 100644
index 000000000..079e70715
Binary files /dev/null and b/gifs/b-credits-c.gif differ
diff --git a/gifs/b-credits-p.gif b/gifs/b-credits-p.gif
new file mode 100644
index 000000000..911cfae51
Binary files /dev/null and b/gifs/b-credits-p.gif differ
diff --git a/gifs/b-development-c.gif b/gifs/b-development-c.gif
new file mode 100644
index 000000000..c475d0407
Binary files /dev/null and b/gifs/b-development-c.gif differ
diff --git a/gifs/b-development-p.gif b/gifs/b-development-p.gif
new file mode 100644
index 000000000..d1419e93c
Binary files /dev/null and b/gifs/b-development-p.gif differ
diff --git a/gifs/b-docs-c.gif b/gifs/b-docs-c.gif
new file mode 100644
index 000000000..3295affff
Binary files /dev/null and b/gifs/b-docs-c.gif differ
diff --git a/gifs/b-docs-p.gif b/gifs/b-docs-p.gif
new file mode 100644
index 000000000..d5d74d18c
Binary files /dev/null and b/gifs/b-docs-p.gif differ
diff --git a/gifs/b-downloads-c.gif b/gifs/b-downloads-c.gif
new file mode 100644
index 000000000..257970acf
Binary files /dev/null and b/gifs/b-downloads-c.gif differ
diff --git a/gifs/b-downloads-p.gif b/gifs/b-downloads-p.gif
new file mode 100644
index 000000000..c0b6357ec
Binary files /dev/null and b/gifs/b-downloads-p.gif differ
diff --git a/gifs/b-go.gif b/gifs/b-go.gif
new file mode 100644
index 000000000..92ae58820
Binary files /dev/null and b/gifs/b-go.gif differ
diff --git a/gifs/b-links-c.gif b/gifs/b-links-c.gif
new file mode 100644
index 000000000..818d99cfe
Binary files /dev/null and b/gifs/b-links-c.gif differ
diff --git a/gifs/b-links-p.gif b/gifs/b-links-p.gif
new file mode 100644
index 000000000..46ad87c57
Binary files /dev/null and b/gifs/b-links-p.gif differ
diff --git a/gifs/b-mailing-c.gif b/gifs/b-mailing-c.gif
new file mode 100644
index 000000000..5cfdde08f
Binary files /dev/null and b/gifs/b-mailing-c.gif differ
diff --git a/gifs/b-mailing-p.gif b/gifs/b-mailing-p.gif
new file mode 100644
index 000000000..c2032d837
Binary files /dev/null and b/gifs/b-mailing-p.gif differ
diff --git a/gifs/b-mirror-c.gif b/gifs/b-mirror-c.gif
new file mode 100644
index 000000000..c24bf1303
Binary files /dev/null and b/gifs/b-mirror-c.gif differ
diff --git a/gifs/b-mirror-p.gif b/gifs/b-mirror-p.gif
new file mode 100644
index 000000000..68f0d10ee
Binary files /dev/null and b/gifs/b-mirror-p.gif differ
diff --git a/gifs/b-news-c.gif b/gifs/b-news-c.gif
new file mode 100644
index 000000000..f9e186f92
Binary files /dev/null and b/gifs/b-news-c.gif differ
diff --git a/gifs/b-news-p.gif b/gifs/b-news-p.gif
new file mode 100644
index 000000000..c8b5a99c6
Binary files /dev/null and b/gifs/b-news-p.gif differ
diff --git a/gifs/b-next-c.gif b/gifs/b-next-c.gif
new file mode 100644
index 000000000..f016b5f10
Binary files /dev/null and b/gifs/b-next-c.gif differ
diff --git a/gifs/b-next-p.gif b/gifs/b-next-p.gif
new file mode 100644
index 000000000..c38792f91
Binary files /dev/null and b/gifs/b-next-p.gif differ
diff --git a/gifs/b-prev-c.gif b/gifs/b-prev-c.gif
new file mode 100644
index 000000000..9b2afa37c
Binary files /dev/null and b/gifs/b-prev-c.gif differ
diff --git a/gifs/b-prev-p.gif b/gifs/b-prev-p.gif
new file mode 100644
index 000000000..d12ec3045
Binary files /dev/null and b/gifs/b-prev-p.gif differ
diff --git a/gifs/b-search-c.gif b/gifs/b-search-c.gif
new file mode 100644
index 000000000..174b685a0
Binary files /dev/null and b/gifs/b-search-c.gif differ
diff --git a/gifs/b-search-p.gif b/gifs/b-search-p.gif
new file mode 100644
index 000000000..6c2bf6532
Binary files /dev/null and b/gifs/b-search-p.gif differ
diff --git a/gifs/b-source-c.gif b/gifs/b-source-c.gif
new file mode 100644
index 000000000..cb3dca367
Binary files /dev/null and b/gifs/b-source-c.gif differ
diff --git a/gifs/b-source-p.gif b/gifs/b-source-p.gif
new file mode 100644
index 000000000..926420058
Binary files /dev/null and b/gifs/b-source-p.gif differ
diff --git a/gifs/b-top-c.gif b/gifs/b-top-c.gif
new file mode 100644
index 000000000..e6ea24fd3
Binary files /dev/null and b/gifs/b-top-c.gif differ
diff --git a/gifs/b-top-p.gif b/gifs/b-top-p.gif
new file mode 100644
index 000000000..41984851f
Binary files /dev/null and b/gifs/b-top-p.gif differ
diff --git a/gifs/b-up-c.gif b/gifs/b-up-c.gif
new file mode 100644
index 000000000..ec2a62501
Binary files /dev/null and b/gifs/b-up-c.gif differ
diff --git a/gifs/b-up-p.gif b/gifs/b-up-p.gif
new file mode 100644
index 000000000..9375e4e24
Binary files /dev/null and b/gifs/b-up-p.gif differ
diff --git a/gifs/background-p.gif b/gifs/background-p.gif
new file mode 100644
index 000000000..fc37491cb
Binary files /dev/null and b/gifs/background-p.gif differ
diff --git a/gifs/bg-bl.gif b/gifs/bg-bl.gif
new file mode 100644
index 000000000..51363b791
Binary files /dev/null and b/gifs/bg-bl.gif differ
diff --git a/gifs/bg-ul.gif b/gifs/bg-ul.gif
new file mode 100644
index 000000000..edd10c890
Binary files /dev/null and b/gifs/bg-ul.gif differ
diff --git a/gifs/black.gif b/gifs/black.gif
new file mode 100644
index 000000000..19f504801
Binary files /dev/null and b/gifs/black.gif differ
diff --git a/gifs/cap-bl.gif b/gifs/cap-bl.gif
new file mode 100644
index 000000000..a2124f9e7
Binary files /dev/null and b/gifs/cap-bl.gif differ
diff --git a/gifs/cap-left.gif b/gifs/cap-left.gif
new file mode 100644
index 000000000..132b2a37c
Binary files /dev/null and b/gifs/cap-left.gif differ
diff --git a/gifs/cap-right.gif b/gifs/cap-right.gif
new file mode 100644
index 000000000..c79635495
Binary files /dev/null and b/gifs/cap-right.gif differ
diff --git a/gifs/cap-right2.gif b/gifs/cap-right2.gif
new file mode 100644
index 000000000..b808b9415
Binary files /dev/null and b/gifs/cap-right2.gif differ
diff --git a/gifs/cap-ul.gif b/gifs/cap-ul.gif
new file mode 100644
index 000000000..e4e6e3fe4
Binary files /dev/null and b/gifs/cap-ul.gif differ
diff --git a/gifs/corner-bl.gif b/gifs/corner-bl.gif
new file mode 100644
index 000000000..33420e7e5
Binary files /dev/null and b/gifs/corner-bl.gif differ
diff --git a/gifs/corner-ul.gif b/gifs/corner-ul.gif
new file mode 100644
index 000000000..3ae9aa46c
Binary files /dev/null and b/gifs/corner-ul.gif differ
diff --git a/gifs/flag-au.gif b/gifs/flag-au.gif
new file mode 100644
index 000000000..74eb63053
Binary files /dev/null and b/gifs/flag-au.gif differ
diff --git a/gifs/flag-ca.gif b/gifs/flag-ca.gif
new file mode 100644
index 000000000..18d97b27a
Binary files /dev/null and b/gifs/flag-ca.gif differ
diff --git a/gifs/flag-il.gif b/gifs/flag-il.gif
new file mode 100644
index 000000000..36b568739
Binary files /dev/null and b/gifs/flag-il.gif differ
diff --git a/gifs/flag-jp.gif b/gifs/flag-jp.gif
new file mode 100644
index 000000000..bca55a020
Binary files /dev/null and b/gifs/flag-jp.gif differ
diff --git a/gifs/flag-no.gif b/gifs/flag-no.gif
new file mode 100644
index 000000000..51759f8b2
Binary files /dev/null and b/gifs/flag-no.gif differ
diff --git a/gifs/flag-nz.gif b/gifs/flag-nz.gif
new file mode 100644
index 000000000..d88b80aea
Binary files /dev/null and b/gifs/flag-nz.gif differ
diff --git a/gifs/flag-sk.gif b/gifs/flag-sk.gif
new file mode 100644
index 000000000..e5daf1ec5
Binary files /dev/null and b/gifs/flag-sk.gif differ
diff --git a/gifs/flag-uk.gif b/gifs/flag-uk.gif
new file mode 100644
index 000000000..18290d00f
Binary files /dev/null and b/gifs/flag-uk.gif differ
diff --git a/gifs/flag-us.gif b/gifs/flag-us.gif
new file mode 100644
index 000000000..14cb3665c
Binary files /dev/null and b/gifs/flag-us.gif differ
diff --git a/gifs/flag-xx.gif b/gifs/flag-xx.gif
new file mode 100644
index 000000000..3e2b04b71
Binary files /dev/null and b/gifs/flag-xx.gif differ
diff --git a/gifs/flag-za.gif b/gifs/flag-za.gif
new file mode 100644
index 000000000..6074fc69f
Binary files /dev/null and b/gifs/flag-za.gif differ
diff --git a/gifs/gcap-left.gif b/gifs/gcap-left.gif
new file mode 100644
index 000000000..daa8c39ba
Binary files /dev/null and b/gifs/gcap-left.gif differ
diff --git a/gifs/gcap-right.gif b/gifs/gcap-right.gif
new file mode 100644
index 000000000..906f69b84
Binary files /dev/null and b/gifs/gcap-right.gif differ
diff --git a/gifs/gcorn-bl.gif b/gifs/gcorn-bl.gif
new file mode 100644
index 000000000..66d1e9ee7
Binary files /dev/null and b/gifs/gcorn-bl.gif differ
diff --git a/gifs/gcorn-br.gif b/gifs/gcorn-br.gif
new file mode 100644
index 000000000..ae08cb479
Binary files /dev/null and b/gifs/gcorn-br.gif differ
diff --git a/gifs/gcorn-ul.gif b/gifs/gcorn-ul.gif
new file mode 100644
index 000000000..a93d59ad9
Binary files /dev/null and b/gifs/gcorn-ul.gif differ
diff --git a/gifs/gcorn-ur.gif b/gifs/gcorn-ur.gif
new file mode 100644
index 000000000..53edb678b
Binary files /dev/null and b/gifs/gcorn-ur.gif differ
diff --git a/gifs/gflag-au.gif b/gifs/gflag-au.gif
new file mode 100644
index 000000000..ff28cbcb6
Binary files /dev/null and b/gifs/gflag-au.gif differ
diff --git a/gifs/gflag-ca.gif b/gifs/gflag-ca.gif
new file mode 100644
index 000000000..d7d71caaa
Binary files /dev/null and b/gifs/gflag-ca.gif differ
diff --git a/gifs/gflag-il.gif b/gifs/gflag-il.gif
new file mode 100644
index 000000000..120e93725
Binary files /dev/null and b/gifs/gflag-il.gif differ
diff --git a/gifs/gflag-jp.gif b/gifs/gflag-jp.gif
new file mode 100644
index 000000000..82dba42ff
Binary files /dev/null and b/gifs/gflag-jp.gif differ
diff --git a/gifs/gflag-no.gif b/gifs/gflag-no.gif
new file mode 100644
index 000000000..6e401a5f1
Binary files /dev/null and b/gifs/gflag-no.gif differ
diff --git a/gifs/gflag-nz.gif b/gifs/gflag-nz.gif
new file mode 100644
index 000000000..659c9a30b
Binary files /dev/null and b/gifs/gflag-nz.gif differ
diff --git a/gifs/gflag-sk.gif b/gifs/gflag-sk.gif
new file mode 100644
index 000000000..19096973a
Binary files /dev/null and b/gifs/gflag-sk.gif differ
diff --git a/gifs/gflag-uk.gif b/gifs/gflag-uk.gif
new file mode 100644
index 000000000..10ca7c51a
Binary files /dev/null and b/gifs/gflag-uk.gif differ
diff --git a/gifs/gflag-us.gif b/gifs/gflag-us.gif
new file mode 100644
index 000000000..3171403c8
Binary files /dev/null and b/gifs/gflag-us.gif differ
diff --git a/gifs/gflag-xx.gif b/gifs/gflag-xx.gif
new file mode 100644
index 000000000..7b318425b
Binary files /dev/null and b/gifs/gflag-xx.gif differ
diff --git a/gifs/gflag-za.gif b/gifs/gflag-za.gif
new file mode 100644
index 000000000..a9ebf0b8b
Binary files /dev/null and b/gifs/gflag-za.gif differ
diff --git a/gifs/kick-bb.gif b/gifs/kick-bb.gif
new file mode 100644
index 000000000..81ada429b
Binary files /dev/null and b/gifs/kick-bb.gif differ
diff --git a/gifs/kick-bg.gif b/gifs/kick-bg.gif
new file mode 100644
index 000000000..93f6d19ec
Binary files /dev/null and b/gifs/kick-bg.gif differ
diff --git a/gifs/kick-bl.gif b/gifs/kick-bl.gif
new file mode 100644
index 000000000..573b3796d
Binary files /dev/null and b/gifs/kick-bl.gif differ
diff --git a/gifs/kick-br.gif b/gifs/kick-br.gif
new file mode 100644
index 000000000..13b23ace8
Binary files /dev/null and b/gifs/kick-br.gif differ
diff --git a/gifs/kick-bt.gif b/gifs/kick-bt.gif
new file mode 100644
index 000000000..6b3c61e77
Binary files /dev/null and b/gifs/kick-bt.gif differ
diff --git a/gifs/kick-cbl.gif b/gifs/kick-cbl.gif
new file mode 100644
index 000000000..664b50c96
Binary files /dev/null and b/gifs/kick-cbl.gif differ
diff --git a/gifs/kick-cbr.gif b/gifs/kick-cbr.gif
new file mode 100644
index 000000000..d6d75bf2f
Binary files /dev/null and b/gifs/kick-cbr.gif differ
diff --git a/gifs/kick-close.gif b/gifs/kick-close.gif
new file mode 100644
index 000000000..043a7526a
Binary files /dev/null and b/gifs/kick-close.gif differ
diff --git a/gifs/kick-ctl.gif b/gifs/kick-ctl.gif
new file mode 100644
index 000000000..f3b0ae2d6
Binary files /dev/null and b/gifs/kick-ctl.gif differ
diff --git a/gifs/kick-ctr.gif b/gifs/kick-ctr.gif
new file mode 100644
index 000000000..225bb5e36
Binary files /dev/null and b/gifs/kick-ctr.gif differ
diff --git a/gifs/lil-logo.gif b/gifs/lil-logo.gif
new file mode 100644
index 000000000..78b7c07c5
Binary files /dev/null and b/gifs/lil-logo.gif differ
diff --git a/gifs/logo-bellasf.gif b/gifs/logo-bellasf.gif
new file mode 100644
index 000000000..53fd60d48
Binary files /dev/null and b/gifs/logo-bellasf.gif differ
diff --git a/gifs/logo-besthost.gif b/gifs/logo-besthost.gif
new file mode 100644
index 000000000..2042c61ab
Binary files /dev/null and b/gifs/logo-besthost.gif differ
diff --git a/gifs/logo-guardian.gif b/gifs/logo-guardian.gif
new file mode 100644
index 000000000..e887595e5
Binary files /dev/null and b/gifs/logo-guardian.gif differ
diff --git a/gifs/logo-netvision.gif b/gifs/logo-netvision.gif
new file mode 100644
index 000000000..10351dbc7
Binary files /dev/null and b/gifs/logo-netvision.gif differ
diff --git a/gifs/logo-none.gif b/gifs/logo-none.gif
new file mode 100644
index 000000000..858055a92
Binary files /dev/null and b/gifs/logo-none.gif differ
diff --git a/gifs/logo-pwc.gif b/gifs/logo-pwc.gif
new file mode 100644
index 000000000..fdc9e3149
Binary files /dev/null and b/gifs/logo-pwc.gif differ
diff --git a/gifs/logo-squid.gif b/gifs/logo-squid.gif
new file mode 100644
index 000000000..82121f54e
Binary files /dev/null and b/gifs/logo-squid.gif differ
diff --git a/gifs/logo-technion.gif b/gifs/logo-technion.gif
new file mode 100644
index 000000000..a0859a650
Binary files /dev/null and b/gifs/logo-technion.gif differ
diff --git a/gifs/logo.gif b/gifs/logo.gif
new file mode 100644
index 000000000..6cf550429
Binary files /dev/null and b/gifs/logo.gif differ
diff --git a/gifs/p-cap-left.gif b/gifs/p-cap-left.gif
new file mode 100644
index 000000000..51600bd76
Binary files /dev/null and b/gifs/p-cap-left.gif differ
diff --git a/gifs/p-cap-right.gif b/gifs/p-cap-right.gif
new file mode 100644
index 000000000..8665b1437
Binary files /dev/null and b/gifs/p-cap-right.gif differ
diff --git a/gifs/spacer.gif b/gifs/spacer.gif
new file mode 100644
index 000000000..e66849ac4
Binary files /dev/null and b/gifs/spacer.gif differ
diff --git a/index.php3 b/index.php3
index bf5bd3355..d2e5f37df 100644
--- a/index.php3
+++ b/index.php3
@@ -1,76 +1,14 @@
-Professional Home Pages Version 3.0
- $title="Welcome";
- include "include/header.inc"; ?>
-
-
Professional Home Pages
-
-PHP 3.0 is a complete rewrite of the popular web development scripting language,
-PHP/FI 2.0.
-It is currently in a public beta testing period.
-
-
-
-
-Note: The February issue of WEBTechniques has
-a full article on PHP3.
-
-
-
-
-
-
- | Mirror Sites: |
-
- reset($mirror_sites);
- while ($site = key($mirror_sites)) {
- next($mirror_sites);
- if ($mirror_sites[$site][2]==$FULL_MIRROR) {
- echo('  ' .
- '' .$mirror_sites[$site][1]. " | \n");
- }
- }
-
+require("shared.inc");
+commonHeader("PHP3 Main Page");
+?>
+PHP is server-side HTML embedded scripting language.
+PHP 3.0 is a complete rewrite of the popular PHP/FI 2.0 language.
+This rewrite is faster, more robust and uses less memory than version 2. All users of version 2 are
+encouraged to upgrade.
+If you are new to PHP, a good place to start discovering the power of this language is by clicking
+on the "Source" button in the top right corner of all the pages on this site. What you
+see is the actual PHP files that are behind each of the pages you are looking at.
+
+commonFooter();
?>
-
-
-
-
-
-
diff --git a/mirrors.php3 b/mirrors.php3
new file mode 100644
index 000000000..5068ff844
--- /dev/null
+++ b/mirrors.php3
@@ -0,0 +1,24 @@
+
+require("shared.inc");
+commonHeader("Mirrors Page");
+?>
+
+
+commonFooter();
+?>
diff --git a/news.php3 b/news.php3
new file mode 100644
index 000000000..7bf24eb24
--- /dev/null
+++ b/news.php3
@@ -0,0 +1,27 @@
+
+require("shared.inc");
+commonHeader("PHP in the News");
+?>
+
+- UnixIntegration: Building A Cross-Platform Web Infrastructure, Part I
+
- Brian Platz and Robert Flannigan take a look at all the options out there and end up choosing PHP over all the
+big guys.
+
+
+
- WebTechniques: A Contact Database using MySQL and PHP
+
- Mike Miller builds a contact database with MySQL and PHP
+
+
+
+
- WebTechniques: Dynamic Web Pages with PHP3
+
- 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.
+
+
+
+If you have written an article, or spot one on the Net somewhere that isn't listed here, please send a note
+to core@php.net and we will be sure to add it to this list.
+
+
+commonFooter();
+?>
diff --git a/php-style.css b/php-style.css
new file mode 100644
index 000000000..d744fbb6f
--- /dev/null
+++ b/php-style.css
@@ -0,0 +1,19 @@
+/* $Id$ */
+
+.sidebartoc {
+ font-family: tahoma, arial, helvetica, sans-serif;
+ color: #FFFFFF;
+ text-decoration: none
+}
+
+.example {
+ margin-top: 5px;
+ margin-bottom: 5px;
+ margin-left: 5px;
+ background: #E0E0E0;
+}
+
+.programlisting {
+ margin-left: 15px;
+ font-family: courier;
+}
diff --git a/redirect.php3 b/redirect.php3
new file mode 100644
index 000000000..dcd4659e1
--- /dev/null
+++ b/redirect.php3
@@ -0,0 +1 @@
+ Header("Location: $URL");>
\ No newline at end of file
diff --git a/sites.php3 b/sites.php3
index de8602e85..ab69589a6 100644
--- a/sites.php3
+++ b/sites.php3
@@ -1,7 +1,6 @@
-
High-Profile sites running PHP
- $title="High-Profile sites running PHP";
- require("include/header.inc");
+ require("shared.inc");
+ commonHeader("High-Profile sites running PHP");
function site($name,$domain) {
echo "$name
\n";
@@ -10,13 +9,6 @@
function title($text) {
echo "$text | \n";
}
- echo "\n";
- echo "The presence of a company on this list is by no means indicative of any ";
- echo "sort of endorsement of PHP by that company. Sites are only added to ";
- echo "this list per request, but we cannot guarantee that the person adding ";
- echo "the site is entitled to do so. If you own a site on this list and wish ";
- echo "it removed, email: sites@php.net.";
- echo "\n";
echo "\n";
@@ -79,6 +71,7 @@
site("Børsen - Danish Business Daily","www.borsen.dk");
site("Computer Currents","www.computercurrents.com");
site("UPI Archives","upi.siteways.com");
+ site("CADALYST Magazine","www.cadonline.com");
echo "
\n";
/* Large ISP's */
@@ -134,6 +127,7 @@
site("Metaindex of Law and Government","www.catalaw.com");
site("TVGrid.com","www.divein.tvgrid.com");
site("ClearInk Corporation","www.clearink.com");
+ site("Cigar.Com","www.cigar.com");
echo " |
\n";
title("Financial Industry");
@@ -164,5 +158,5 @@ of the Internet might have heard of.
- require("include/footer.inc");
+commonFooter();
?>
diff --git a/source.php3 b/source.php3
new file mode 100644
index 000000000..56e165b1c
--- /dev/null
+++ b/source.php3
@@ -0,0 +1,31 @@
+
+require("shared.inc");
+commonHeader("Show Source");
+
+if (!isset($page_url)):
+ echo "No page URL specified.";
+ commonFooter();
+ exit;
+endif;
+
+echo "Source of: $page_url
\n";
+
+/* remove other path prefixes than /manual/ */
+
+$legal_paths = array("/manual" => 1);
+$tmp = strrchr($page_url, "/");
+if ($tmp) {
+ $path = substr($page_url, 0, strlen($page_url)-strlen($tmp));
+ if ($legal_paths[$path]) {
+ $page_name = "$DOCUMENT_ROOT/" . ereg_replace("^/", "", $page_url);
+ } else {
+ $page_name = substr($tmp, 1, strlen($tmp));
+ }
+} else {
+ $page_name = $page_url;
+}
+echo "\n";
+show_source($page_name);
+
+commonFooter();
+?>