Software version:
Nginx:nginx-1.1.7.zip
Php:php-5.3.6-nts-win32-vc9-x86.zip
Mysql:mysql-essential-5.1.57-win32.zip
Convenient package software: Phpsys
First install Mysql, direct decompression installation to the directory, I install here in F:/
PHP Single example mode to realize shopping cart function-php Instance tutorial complete this small function must write the need to develop good habits PHP shopping cart development requirements function is as follows 1: Shopping cart in Session 2:
One of the biggest advantages of using PHP is that it is fast. In general, PHP always has enough speed to support Web content dynamic generation, and many times it is impossible to find a faster method. However, when faced with huge traffic, high
get browser IP address
function getremoteipaddress () {
$ip = $_server[' remote_addr '];
return $IP;
}
Get IP If there is a proxy server
function getrealipaddress () {
if (!empty ($_server[' http_client_ip ')) {//check IP from share
idea:
1) will be long Web site MD5 generated 32-bit signature string, divided into 4 paragraphs, 8 bytes per paragraph;
2 to the four-segment loop, take 8 bytes, consider him as 16-string and 0X3FFFFFFF (30-bit 1) and operation, that is, more than
Coding | Specification PHP code specification
1. Introduce
1.1. Key to Standardization * *
The problem of standardization in some ways gives everyone a headache and makes everyone feel like they're in the same situation. This helps to keep these
Security | Script Original: Kevin Yank from: www.linuxforum.net (Congratulations again this open)
For a long time, one of the biggest selling points of PHP as a server-side scripting language is the automatic creation of a global variable for the
Highlight | function | String/////by iwind.org Coldwind/iwind/month/ccterran
This function is to analyze the contents of the label and output
For example:
sssssssssssss ';
Highlight ($string);
?>
Keep the incomplete label, if only the following
Security | error
PHP is a scary language for fast-growing dynamic websites. It also has a lot of friendly properties for beginners, such as a variable that doesn't need to be defined to be used directly. However, some of these similar properties
Misuse of include1. The reason of the loophole:Include is the most commonly used function in writing PHP Web sites, and supports relative paths. There are many PHP scripts that directly take an input variable as an include parameter, resulting in
cache| site Commercial application of the site, its transmission efficiency is very important, usually in some e-commerce sites, the server's response speed determines its quality of service, the server's load determines its maximum available
Object
First, IntroductionEnforcing object types in PHP can sometimes be very important. If it is missing, or because of lack of knowledge-based on incorrect programming assumptions, or simply laziness, you will see the results you don't want in a
Beginners because PHP is an open language, this also leads to a development environment without strong and authoritative support. Here are some of the better editing tools, I hope to give you the development of PHP programs to provide some help.
The PHP designer, who just started contacting the template engine, will find it hard to hear Smarty. In fact, the author is no exception, did not dare to touch. But later, when parsing XOOPS's program architecture, it was not difficult to begin to
Beginner
Because PHP is an open language, it also leads to a lack of strong and authoritative support for the development environment. Here are some of the better editing tools, I hope to give you the development of PHP programs to provide some
Display the photo EXIF information in Chinese style, showing the sketch in the picture
This thing in addition to some PHP forum to display a simple 32 information, other people's lb5000 forum to see the show, ASP also has a long time did not touch
Function
PHP function instructions, application examples, concise comments, I hope to learn from your PHP help.1.print_r ()Print easy-to-understand information about variables and, if they are arrays, display the structure information for the
Program then we have to focus on another area of PHP acceleration-caching tool software. This kind of software is from optimizes PHP to run the environment to speed up, do not need to change any code. We can probably refer to them as "Execution code
Today, I saw an article in Csdn to write the battle between Eclipse and Netbean. The original text is as follows: http://blog.csdn.net/sean_gao/archive/2005/03/14/319461.aspx
See the following discussion, I also write some of my feelings.
Eclipse
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.