PHP3 Chinese document (GO) _php tutorial

Source: Internet
Author: User
Tags http authentication
1th Chapter PHP3 Introduction
What is PHP3?
The PHP3.0 version is a server-side html-embedded Script Description language.
What can PHP3 do?
Perhaps the most powerful and important feature of PHP3 is his database integration layer, which is incredibly simple to use to complete a Web page that contains database functionality. The databases listed below are currently supported.
Oracle
Adabas D
Sybase
Filepro
MSQL
Velocis
Mysql
Informix
Solid
DBase
Odbc
Unix dbm
PostgreSQL
 
Brief History of PHP
PHP was conceived since the fall of 1994, and his founder was Rasmus Lerdorf. The earlier unpublished version was used by him on his own web page to track who had visited his online profile. The first version that was used by others was released in 1995, when it was called personal Home Page Tools. He contains a very simple parsing engine that can only understand some of the specified macros and some common features of the home page background, such as message books, counters, and some other footage. In the middle of the 1995, this parsing engine was rewritten and named Php/fi version 2.0. Fi originates from another package written by Rasmus that can accept HTML form data. He assembled the personal Home Page Tools script and form interpreter, and added support for mSQL, so Php/fi 2.0 was born. The PHP/FI developed at an alarming rate, and others began to improve and modify his source code.
It's hard to give any precise statistics, but it's estimated that at least 15,000 Web sites are using PHP/FI 2.0 by the end of 1996, and that this number has grown to 50,000 in 1997 years, and that there have been some changes in PHP's development in 1997. He has become a more organised group project from Rasmus's pet project. The parsing engine has also been rewritten by Zeev Suraski and Andi Gutmans, which forms the basis of PHP3. Most of the common code in PHP/FI has been rewritten and introduced into PHP3.
Today (1998), there are many commercial products such as C2 's stronghold Web server and Red Hat Linux are beginning to support PHP3 or PHP/FI, based on the numbers provided by Netcraft conservative inference, now around the world about 150, 000 Web sites are using PHP or PHP/FI. In the foreground, these sites on the Internet are far more than those running Netscape's flagship Enterprise server.
Using PHP3 for HTTP authentication
HTTP authentication is only available when PHP is running in the Apache module mode. In the Apache module PHP script, you can use the header () function to send a "authentication Required" message to the client, causing the browser to pop up a username/password (username/password) input window, When the user enters the user name and password, the URL containing the PHP script will be called again, using the $php_auth_user, which represents the user name, password, and confirmation method, $PHP _AUTH_PW, $PHP the _auth_type variable. Only the "BASIC" confirmation method is now supported.

http://www.bkjia.com/PHPjc/631467.html www.bkjia.com true http://www.bkjia.com/PHPjc/631467.html techarticle 1th Chapter PHP3 what is PHP3? The PHP3.0 version is a server-side html-embedded Script Description language. What can PHP3 do? Perhaps the most powerful and important feature of PHP3 is his database set ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.