Appendix
History of PHP and related projects
Port from PhP 5.2.x to PhP 5.3.x
Migrating from PhP 5.1.x to PhP 5.2.x
Migrating from PhP 5.0.x to PhP 5.1.x
Port from PHP 4 to PHP 5
Class and object (PHP 4)
PHP debugging
Configuration
1. Use global variables as follows:
name = $ name;} public function join_game () {Global $ global_nums; $ global_nums + = 1; echo $ this-> name. "Join snowman game " ;}}// create 3 children $ Child1 = new child ("AAA"); $ Child1-> join_game (); $
Ii. ApacheOperating Mechanism Analysis
LB/SInteraction Process
One interaction process between the browser and the server
1. the browser sends an HTTP request to the server (Web Server ).
2. The server analyzes browser requests and outputs
When compiling a PHP script, the PHP compiler will do its best to report the first problem it encountered. In this case, a problem occurs: PHP can recognize the error only when it occurs (this article will detail the problem later ). For this reason,
When writing a class using PHP, we should try to avoid dynamic changes to the class's member variables, and apply the member variables to the positioning private, and use the get and set methods to obtain these member variables, as shown in
1 2
Job type:Computer software, hardware/Internet/it
Work location:Chengdu
Release date:2007-03-01
Work experience:1-3 years
Minimum education level:Bachelor
Monthly salary:Negotiable
Nature of work:Full-time
Summary: After a require request is included, the next code is stored in the file, and the include statement is interpreted every time the request is executed, that is, the file is read again.
The following example:
Con_db.php
$ DBH =
Start session-register session-use session-delete session
1. Start a session
Session_start ()
Use the session_register () function to create a session
The session_register () function is used to implicitly start a session by logging on to a variable
Msg_get_queue-Create or attach to a message queueMsg_queue_exists-Check whether a message queue existsMsg_receive-Receive a message from a message queueMsg_remove_queue-Destroy a message queueMsg_send-Send a message to a message
The so-called task plan is to use a computer to automatically call the user's preset applications, so as to simplify user operations. We can schedule any script, program, or document to run at the most appropriate time using the Windows 2000
I. Environment Description:
OS: windows server 2003 r2 enterprise SP2;
IIS6.0; php-5.2.11; MySql5.1.40;
PhpMyAdmin-3.2.3-all-languages
Step 2: Configure PHP
1. decompress the downloaded php package to a directory, such as c: \ php.
2. Set the
PHP is a script language for creating dynamic websites based on the server. You can use PHP and HTML to generate the website homepage. When a visitor opens the home page, the server executes the PHP Command and sends the execution result to the
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