1. General Cache Technology:
Data Cache: data cache refers to database queries.PHP Cache TechnologyWhen accessing the page, the system first checks whether the cache data exists. If the cache data does not exist, it connects to the database,
When an error message is displayed
Syntax error, unexpected t_encapsed_and_whitespace, expecting t_string or t_variable or t_num_string
This prompt indicates the usage of the variable.
What I see is that an array is used in the statement,
Brief Introduction: This is a detailed page of what is the difference between vc9 and vc6 in PHP 5.3.1 installation package. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0'
Introduction: This is the PHP generated by powerdesigner.CodeThe details page of UML describes PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
Q: Why can't PHP obtain the submitted content after a form is submitted on the webpage? However, it runs normally in the old version of PHP.
The new version of PHP has abandoned the original form content processing method, that is, it no longer
ECHO is a syntax structure, that is, a keyword, not a function. You do not need to add brackets when using them. When multiple values are displayed, they can be separated by commas. Only the basic type is supported, except for the boolean type. When
PHP timezone
The server is recommended to use Zone 0 UTC, and there is no daylight saving time, that is, Atlanta/Reykjavik. If it is developed on a personal PC, we recommend that you use Zone 0, which is consistent with that on the server.
Sudo VI/
The form must use enctype = "multipart/form-Data"
Code:
upload
When saving the file, check the file type. If you want to use $ _ FILES ["user_file"] ["type"], it is found that the files are inconsistent in different browsers.
Only file
1. Download Required Software
A php5.3.6 (vc9 x86 thread safe)
: Http://windows.php.net/download/
You can download the zip version or the EXE version. It is easy to configure the EXE version. I downloaded the EXE version.
B Microsoft FastCGI
Simple php development framework --- litephp
This framework is written in my spare time. lightweight and efficient. templates and caches are available (Dz templates are used), and they do not adopt the complex mode of classes and objects. use
Introduction: This is a detailed page for sending an email using socket in PHP (2). It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
Introduction: This is a detailed page of the difference between array merge and + of PHP. It introduces related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
Introduction: This is a [original] PHP topic navigation class details page, introduced and PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php?
1. Static as much as possible:
If a method can be static, it is declared as static, and the speed can be increased by 1/4, or even increased by nearly three times during my testing.Of course, this test method needs to be executed more than 100,000
Because it was written during lunch break, I am not very careful about it.
The main issue is the old-fashioned issue of OOP...
I have been working for two years and have some ideas about oop, But I 've rummaged through the introduction of OOP in
A problem was found a few days ago. The time obtained by date ("Y-m-d G: I t", time () is eight hours earlier than the local time, but my system was clearly a Chinese Standard (GMT + 8) and finally found the problem:
The date. timezone option has
PHP /* Product */ Class Product { Public Static $ Count = 0 ; Public $ Name ='' ; Public Function Show (){ Print (' show method ' );} Public Static Function Display (){ Print (' display static method ' );}} $ Class = New
From: http://www.phpchina.com/archives/view-42868-1.html
PHP is increasingly used! Security issues are even more important! This section describes how to configure PHP. ini for security.
Security Configuration 1
(1) Enable the PHP
Introduction: This is a detailed page for PHP basic functions. It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 335085
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