diff --git a/FAQ.php b/FAQ.php index f12026622..c046048ff 100644 --- a/FAQ.php +++ b/FAQ.php @@ -1,4 +1,4 @@ - @@ -18,7 +18,7 @@ If you have suggestions, corrections or additions, send them to phpdoc@lists.php.net. -->

- +

- +

1. General Information

@@ -152,7 +152,7 @@ If you have suggestions, corrections or additions, send them to
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 + generation of PHP, which uses the under the hood.

@@ -183,7 +183,7 @@ If you have suggestions, corrections or additions, send them to - +

2. PHP mailing lists

@@ -263,7 +263,7 @@ If you have suggestions, corrections or additions, send them to - +

3. Obtaining PHP

@@ -365,7 +365,7 @@ If you have suggestions, corrections or additions, send them to - +

4. Connecting to databases

@@ -589,7 +589,7 @@ just hit the always prompt for new location checkbox before pressing ok. - +

5. Installation

@@ -703,7 +703,7 @@ AddType application/x-httpd-php .php /* for PHP 4 */ - +

6. Build Problems

@@ -923,7 +923,7 @@ my $CFG_LDFLAGS_SHLIB = q(-shared);# substituted via Makefile.tmpl - +

7. Using PHP

@@ -1188,7 +1188,7 @@ solution is to use PHP's - +

8. PHP and HTML

@@ -1226,7 +1226,7 @@ solution is to use PHP's - +

9. PHP and other languages

@@ -1303,7 +1303,7 @@ solution is to use PHP's - +

10. Common Problems

@@ -1381,7 +1381,7 @@ solution is to use PHP's - +

11. Migrating from PHP3 to PHP4

@@ -1406,7 +1406,7 @@ solution is to use PHP's - +

12. Migrating from PHP2 to PHP3

@@ -1422,7 +1422,7 @@ solution is to use PHP's - +

13. Miscellaneous Questions

@@ -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 - . + . - +

Credits

@@ -1452,6 +1452,4 @@ This FAQ was originally written by Jim Winstead. It is currently maintained by the PHP Documentation Team.

- + diff --git a/anoncvs.php b/anoncvs.php index 3943a17c5..6142f2394 100644 --- a/anoncvs.php +++ b/anoncvs.php @@ -1,4 +1,4 @@ - @@ -61,4 +61,4 @@ to see what is available, and substitute the appropriate name for

You can also mirror the PHP CVS repository using CVSup. See here for more details.

- + diff --git a/bug-pwd-finder.php b/bug-pwd-finder.php index 2072b22b6..6c8ddf084 100644 --- a/bug-pwd-finder.php +++ b/bug-pwd-finder.php @@ -1,4 +1,4 @@ - -
+

Bugs Report Password Finder

If you need to modify a bug report that you submitted, but have forgotten what password you used, this utility can help you.

@@ -55,4 +55,4 @@ commonHeader("Bug Reporting");

Bug Report ID: #

- + diff --git a/bugs-dos-and-donts.php b/bugs-dos-and-donts.php index d93362298..8dbe56e42 100644 --- a/bugs-dos-and-donts.php +++ b/bugs-dos-and-donts.php @@ -1,4 +1,4 @@ - @@ -19,4 +19,4 @@ commonHeader("Bugs Database Dos and Don'ts");
  • If you are trying to report bugs in PHP 4.0, please go here. - + diff --git a/bugs-generating-backtrace.php b/bugs-generating-backtrace.php index 58b23db33..598a18743 100644 --- a/bugs-generating-backtrace.php +++ b/bugs-generating-backtrace.php @@ -1,4 +1,4 @@ - @@ -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. - + diff --git a/bugs-php3.php b/bugs-php3.php index b5bd31133..b7111e98a 100644 --- a/bugs-php3.php +++ b/bugs-php3.php @@ -1,4 +1,4 @@ - Or use the form below to submit a new bug report.
    -
    +

    Please read the Dos & Don'ts before submitting a bug report! @@ -568,7 +568,7 @@ Or use the form below to submit a new bug report. Your email address: - + PHP version: @@ -579,19 +579,19 @@ Or use the form below to submit a new bug report. - + - - Or use the form below to submit a new bug report.


    -
    +

    Please read the Dos & Don'ts before submitting a bug report!

    @@ -839,7 +839,7 @@ You should then report the problem (and the mirror(s) that have it) to Your email address: - + PHP version: @@ -849,19 +849,19 @@ You should then report the problem (and the mirror(s) that have it) to
    - + - - @@ -151,6 +151,6 @@ Tutorial presentations due: May 1, 2001

    Conference presentations due: June 1, 2001

    - diff --git a/cvsup.php b/cvsup.php index 46dac467c..0b63951c6 100644 --- a/cvsup.php +++ b/cvsup.php @@ -1,4 +1,4 @@ - @@ -41,4 +41,4 @@ libtool, bison). Cd into php3 or php4 and run ./buildconf.

    - + diff --git a/do_download.php b/do_download.php index c49ee9a55..6514e0839 100644 --- a/do_download.php +++ b/do_download.php @@ -1,4 +1,4 @@ - - +

    PHP Annotated Manuals

    - +

    More Information

    @@ -185,7 +185,7 @@ francisée et retravaillée . De plus, ces docs sont compressé
  • License questions? See the License FAQ
  • - +

    CVS Account

    @@ -197,7 +197,7 @@ with the development of PHP, read this. - +

    Old/Unsupported Information

    diff --git a/download-logos.php b/download-logos.php index f4a6004b8..a8115daa3 100644 --- a/download-logos.php +++ b/download-logos.php @@ -1,4 +1,4 @@ - @@ -31,7 +31,7 @@ servers on your page! Copy the image to your site.
    - +
    • scaleable EPS
    • click here to download @@ -45,7 +45,7 @@ for commercial purposes
      - +
      • 250 x 132 pixels TIF
      • white background @@ -59,7 +59,7 @@ for commercial purposes
        - +
        • 95 x 50 pixels
        • transparent background @@ -72,7 +72,7 @@ for commercial purposes
          - +
          • 96 x 50 pixels
          • transparent background @@ -85,7 +85,7 @@ for commercial purposes
            - +
            • 88 x 31 pixels
            • "Powered by PHP" logo @@ -98,7 +98,7 @@ for commercial purposes
              - +
              • 88 x 31 pixels
              • "Powered by PHP" logo @@ -112,7 +112,7 @@ for commercial purposes
                - +
                • 88 x 31 pixels
                • "Powered by PHP" logo @@ -125,7 +125,7 @@ for commercial purposes
                  - +
                  • 88 x 31 pixels
                  • "Powered by PHP" logo @@ -138,7 +138,7 @@ for commercial purposes
                    - +
                    • 88 x 31 pixels
                    • "Powered by PHP" logo @@ -154,7 +154,7 @@ for commercial purposes
                      - +
                      • 143 x 65 pixels
                      • solid white background @@ -166,7 +166,7 @@ for commercial purposes
                        - +
                        • 143 x 65 pixels
                        • solid white background @@ -180,7 +180,7 @@ for commercial purposes
                          - +
                          • 100 x 58 pixels
                          • "Powered by Zend" logo @@ -193,7 +193,7 @@ for commercial purposes
                            - +
                            • 32 x 32 pixels
                            • solid white background @@ -207,7 +207,7 @@ for commercial purposes
                              (not exactly as shown)
                              - +
                              • PHP icon resource for Windows
                              • suitable as icons for your desktop @@ -225,7 +225,7 @@ all in one .ICO file
                                (not exactly as shown)
                                - +
                                • Three 32 x 32 PHP 3 icons for Windows
                                • transparent backgrounds @@ -245,6 +245,4 @@ all in one .ICO file - + diff --git a/download-php3.php b/download-php3.php index 558529c46..d9fb30f3c 100644 --- a/download-php3.php +++ b/download-php3.php @@ -1,4 +1,4 @@ -
                                  -

                                  - - + diff --git a/downloads.php b/downloads.php index 79c23c7d1..76d41765f 100644 --- a/downloads.php +++ b/downloads.php @@ -1,4 +1,4 @@ - - +

                                  Other Downloads

                                  @@ -45,7 +45,7 @@ $server = $SERVER_NAME;
                                • Zend Optimizer for PHP 4.0.3 and later is available on Zend Technologies' web site.
                                - +

                                Older Versions of PHP

                                @@ -66,6 +66,4 @@ $server = $SERVER_NAME;

                                - + diff --git a/get-user-notes.php b/get-user-notes.php index c395463a0..96af773c6 100644 --- a/get-user-notes.php +++ b/get-user-notes.php @@ -1,4 +1,4 @@ -
                                - -
                                -
                                +
                                -\n"; ?>

                                Mailing lists and CVS are up!

                                - +

                                [1-Jul-2001] 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 Pair Networks. Thanks!

                                - +

                                PHP 4.0.6 Released!

                                @@ -65,11 +65,11 @@ full list of changes, check out the Change Log.

                                - +

                                - + PHP conventions in Europe

                                @@ -79,29 +79,29 @@ has been announced. Further details are available on the official Web site.

                                - + Also coming between July 5th-8th - LinuxTag 2001, in Stuttgart, Germany, with strong PHP presence.

                                - + - +

                                - + New Usage Stats For May available

                                [02-Jun-2001] - and - have + and + have published the current results for their Web Server surveys - both of which continue to show impressive growth for PHP. Check out the -. +.

                                - +

                                PHP Conference

                                @@ -118,9 +118,9 @@ save up to $400!.

                                - + -

                                +

                                [11-Apr-2001] @@ -143,7 +143,7 @@ on the first PHP Conference coming July 2001, part of the O'Reilly Open Source Conference in San Diego, California.)

                                - +

                                New Site Design

                                @@ -156,22 +156,22 @@ bugs that are surely lingering behind this new facade.

                                -Looking for the box? +Looking for the 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 page +And don't forget to visit the page to add "quickref" functionality right into your web browser.


                                - +

                                - + Announcing PHP-GTK

                                @@ -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 -. +.

                                - +

                                PHP 3.0.18 Released @@ -193,34 +193,32 @@ PHP 3.0.18 Released [21-Oct-2000] 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 - contains a full list of changes. + contains a full list of changes.

                                - +

                                Improve Your PHP Skills

                                Looking for clear and useful guides to build dynamic web-sites using -PHP? Our lists now +PHP? Our lists now more than a dozen books in eight different languages. If you know about more PHP-related books, tell us about them!

                                - +

                                Tips and Tricks Section

                                -Check out our page for some "neat" things, +Check out our page for some "neat" things, PHP-related. It's a little sparse right now, but feel free to make suggestions!

                                - + diff --git a/lbugs.php b/lbugs.php index df4dc25a4..0c8e50e53 100755 --- a/lbugs.php +++ b/lbugs.php @@ -1,4 +1,4 @@ -\1",$text); diff --git a/links.php b/links.php index 8c9d7d204..3db4bf86d 100644 --- a/links.php +++ b/links.php @@ -1,4 +1,4 @@ - Brazilian PHP Portal with many link and informations
                              - +

                              Developers and Job Opportunities

                              @@ -192,7 +192,7 @@ search sites on the web, take a look at dmoz.org's Job Search listings.

                              - +

                              ISPs that support PHP

                              @@ -207,4 +207,4 @@ Looking for an ISP or hosting service that supports PHP? Try one of the followi
                            - + diff --git a/manual-lookup.php b/manual-lookup.php index 309fb3e70..d69eef38f 100644 --- a/manual-lookup.php +++ b/manual-lookup.php @@ -18,3 +18,5 @@ $notfound = $prevsearch = $function; include 'quickref.php'; exit; + +?> diff --git a/news.php b/news.php index d941d6abc..428eab57d 100644 --- a/news.php +++ b/news.php @@ -1,4 +1,4 @@ - - + - + - + - + - + - + - + - + - + - + - + - + - Classified as "the most popular Apache module" by E-Soft, PHP is one of the least frequently mentioned languages amongst the XML discussion lists. - + - Describes the major differences and improvements in the next generation PHP, PHP 4. - + - + - Tutorial for creating template-based Web sites with PHP. - + -PHP Essentials, a book for the beginning or intermediate PHP user, available in March at a bookstore near you. - + - PHP can help you look like a web-wunderkid while saving you hours of drudgery. - + - + - Optimization - PHP vs. ASP - New Features - Geeky Features - + - With the same features as ASP and JSP, PHP is the fastest growing Apache add-on. - + - [in German] "Redaktionssystem für die Website mit PHP" - + - An interview with the core PHP development team: Andi, Andrei, Jim, Rasmus, Sascha, Stig, Thies, and Zeev. - + - 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. - + - + - + - A basic introduction to PHP, by the author of "Core PHP Programming". - + - LinuxWorld's editorial director discovers PHP and extols its virtues. - + - Another Webmonkey article on using PHP, this time explaining how to use PHP to make it easier for users to navigate your website. - + - A three-lesson tutorial on using PHP and MySQL together on Windows and Unix systems. - + - + - + - Building a simple web-mail interface in PHP using the IMAP extension. - + - A very introductory look at LDAP and how to write a PHP interface to an LDAP server, from the May, 1999 issue of Webtechniques. - + - Searching Your Dynamic Site with PHP and ht://Dig. - + - @@ -433,10 +433,10 @@ expensive? The solution is PHP 3." 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. - + - + - "Building Dynamic Web Pages with Search Engines in Mind" and "Creating Dynamic Images with PHP" - + - [in German] "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." From Internet Pro (Ziff Davis). - + - + - + - "After my initial story I got a wave of email providing links to PHP enabled web apps. Here is a short list." - + - + - Charles walks through the steps required to get Linux, PostgreSQL and PHP 3.0 to talk to each other. From UnixWorld Online. - + - Brian and Robert take a look at all the options out there and end up choosing PHP over all the big guys. From UnixIntegration. - + - 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. - + - Mike builds a contact database with MySQL and PHP. From WebTechniques. - + - 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. - + -http://www.spellweb.com, designed to detect and compare patterns in word usage throughout the global online community. - - + - - - + diff --git a/quickref.php b/quickref.php index a6fee3ed7..3db8303af 100644 --- a/quickref.php +++ b/quickref.php @@ -1,4 +1,4 @@ -PHP Function List - +

                            -Sorry, but the function is not in the online manual. +Sorry, but the function 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 -functions which seem to be closest in spelling to (really +into the online documentation yet. The following are the +functions which seem to be closest in spelling to (really good matches are in bold). Perhaps you were looking for one of these:

                            - +

                            -If you want to search the entire PHP website for the string "", -then . +If you want to search the entire PHP website for the string "", +then .

                            For a quick overview over all PHP functions, -. +.

                            - - + - + diff --git a/redirect.php b/redirect.php index 3e4291697..6a9768a72 100644 --- a/redirect.php +++ b/redirect.php @@ -1 +1 @@ - + diff --git a/search.php b/search.php index 31fc0d012..b04f35fa6 100644 --- a/search.php +++ b/search.php @@ -1,4 +1,4 @@ -

                            Search

                            -
                            +
                            @@ -107,7 +107,7 @@ if(!isset($pattern)) { Search for:
                            @@ -133,7 +133,7 @@ Restrict the search to:
                            - +
                            -Search Results\n"; if ($HAVE_SEARCH && isset($htsearch_prog)) { diff --git a/source.php b/source.php index c27d10763..116e38554 100644 --- a/source.php +++ b/source.php @@ -7,12 +7,8 @@ if (!isset($url)) { commonFooter(); exit; } -?> -Source of:
                            -" . 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.
                            If you're interested in what's behind the commonHeader() and commonFooter() functions, you can always take a look at the source of the - and - files. + and + files. And, of course, if you want to see the source of this page, have a look -. +.

                            - - diff --git a/support.php b/support.php index 5dd364209..eb08b8cbc 100644 --- a/support.php +++ b/support.php @@ -22,8 +22,8 @@ PHP user groups have started popping up. Christopher R. Moewes-Bystrom is running a PHP user group registry at http://www.phpusergroups.org/.
                            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 -http://www.phpug.de/. +For an overview as well as news from the various groups have a look +at http://www.phpug.de/.

                            Sample Code

                            @@ -276,8 +276,7 @@ HREF="/search.php">the search page or by using the search input box selecting the appropriate option on the top-right of every page.

                            - - +

                            Local Mailing Lists

                            diff --git a/thanks.php b/thanks.php index 54528e101..99ec80d6d 100644 --- a/thanks.php +++ b/thanks.php @@ -1,4 +1,4 @@ - @@ -6,28 +6,28 @@ commonHeader("Thanks");

                            Thanks

                            - provides the server and + provides the server and bandwidth that run the main www.php.net mirror site.

                            - provides + provides DNS services for the php.* domains.

                            - provides + provides the server and bandwidth for CVS and mailing list services.

                            - provides the server and + provides the server and bandwidth that run various services for php.net.

                            And special thanks to all the companies who donate server space and bandwidth to host -our international array of . +our international array of .

                            - + diff --git a/tips.php b/tips.php index 50395e61d..b28833fc8 100644 --- a/tips.php +++ b/tips.php @@ -114,9 +114,7 @@ example, try typing "php file upload" in your browser. - - - +

                            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. - - +

                            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 <

                            - + diff --git a/tut.php b/tut.php index 3bc249906..73915f17e 100644 --- a/tut.php +++ b/tut.php @@ -1,4 +1,4 @@ -Your first PHP-enabled page Create a file named hello.php and in it put the following lines: -PHP Test +PHP Test "; ?> @@ -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 $HTTP_USER_AGENT. To display this variable we can simply do: -')?> +')?> For the browser that you are using right now to view this page, this displays:
                            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: -');?> +');?> 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.

                            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: -"; } @@ -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.

                            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: -

                            You are using Internet Explorer
                            @@ -97,11 +97,11 @@ viewer. Running this script right now results in:

                            if(strstr($HTTP_USER_AGENT,"MSIE")) { ?>

                            You are using Internet Explorer
                            -
                            You are not using Internet Explorer
                            -

                            Dealing with Forms

                            @@ -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: - + Your name: You age: @@ -117,7 +117,7 @@ You 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 action.php page is called. In this file you would have something like this: -. +. You are 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:
                          • Zend
                          - + diff --git a/usage.php b/usage.php index a68846a73..40242de1c 100644 --- a/usage.php +++ b/usage.php @@ -1,4 +1,4 @@ - @@ -10,13 +10,13 @@ PHP: 6280233 Domains, 941419 IP Addresses
                          Source: Netcraft

                          - +

                          You can also see how popular PHP is relative to other Apache modules -at . +at . Spoiler: PHP is the most popular.

                          - + diff --git a/version.php b/version.php index 1e4f75a32..abdc45a96 100644 --- a/version.php +++ b/version.php @@ -1,3 +1 @@ - +