This article only discusses how to install APACHE+PHP3 under Windows NT 4.0 or Windows 2000.
I use Apache for Apache_1_3_12_win32.exe.
Note that you must first install PHP3 Oh, about PHP3 installation, you can check the related articles described
1. Use header header to set cache control header Cache-control.
PHP code1.
The code is as follows
Copy Code
Header (' Cache-control:private, Must-revalidate '); Support page Bounce
2. Use the
The code is as follows
Copy Code
/*** Interception of HTML, and automatic completion of the full closure* @param $html* @param $length* @param $end*/function subhtml ($html, $length) {$result = ';$tagStack = Array ();$len = 0;
Because the computer uses the Windows 7 32-bit system, has the own IIS, does not want to install a server software for PHP, went on the net to look for some related iis+php the construction method, following is the blogger according to the on-line
PHP for Windows bugsReference:
The first is the possibility of:
Get rid of eaccelerator extensions in PHPThis will solve your problem, but it may increase the system burdenBecause Eaccelerator is mainly to save the system resources of Things
The
PHP defines PHP code run timeDefinitions and usageThe Time_sleep_until () function delays code execution until the specified time.
GrammarTime_sleep_until (timestamp)
Parameter descriptionTimestamp required. Time stamp when the script wakes up.
Do ... while statement will always execute the block of code once, then check the condition and repeat the loop while the condition is true.
GrammarTodo{code to is executed;}while (condition);
For exampleThe following example defines a loop, which
The PHP switch syntax is used to perform actions based on different conditions.
-------------------------------------------------- ------------------------------
PHP for switch statementsUsing the switch statement to select one of the many
IMAP connection server code.
Connect an IMAP server link with an IMAP port of 143.$mbox = Imap_open ("{Localhost:143}inbox", "user_id", "password");Connection POP3 Server link, POP3 port is 110.$mbox = Imap_open ("{Localhost/pop3:110}inbox",
Direct installation:
CentOS Installation:
The code is as follows
Copy Code
Rpm-qa |grep PHP-GD
If it does not exist then execute the following:
The code is as follows
Copy Code
Yum
When the installation of an extension of PHP to restart Apache, php-m time to appear PHP warning:php Startup: Extended Name: Unable to initialize module warning, in general, because there are more than one PHP version exists, resulting in PHP
Below is a standard ajax request code. Normally there will be no problems,... In specific circumstances, problems may occur. For example, when username = fdas & 321, or the & symbol appears in the parameter value, in order to find this problem, I
Symptom:1. The same code runs normally on some machines, but an error is reported when running on specific machines.2. Some pages of the same site are displayed normally (for example, ), However, when you open some pages, phpxx_errors.log or the
PHP's hyper-global variable $ _ COOKIE brings a lot of convenience and may also cause confusion in some cases. For example, if a cookie with the same name exists in the root domain and subdomain, $ _ can only save one COOKIE. Which one should it
Windows php apache does not support mssql by default. Next we will show you how to install apache php mysql tutorial web server and allow your php to use the mssql database tutorial.Download apache and php1. Install apache in the c: apache Directory2
In Windows IIS 6.0, PHP is usually configured in CGI, ISAPI, and FastCGI. These three modes can be successfully run in IIS 6.0, the following describes the differences in configuration and performance of the three methods.1. CGI(Common Gateway
The program finally runs successfully, listing the steps and encountered problems:1. IIS installation methodOpen "service manager", choose "role"> "add Role", select "IIS", and select "application development", because the next step is to use CGI of
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