1. In PHP, the function is case-insensitive, but the variable is case-sensitive
2, the function can define optional parameters, but if there are more than one optional parameter, the default value is from right to Zolian, the middle cannot skip,
Installing Spdy
Nginx is supported in SPDY format starting from 1.5.Http://nginx.org/en/docs/http/ngx_http_spdy_module.html#example
The newest nginx of course also supports, is spdy3.
Compile the time directly add parameters:
The database message table is:
Post a message file liuyan.php
0) { echo "data record inserted successfully, last inserted data ID is:". mysql_insert_id (). ""; } else { echo "data record insert failed with error number:".
ACTIVEREOCRD mode
The most special mode of this model is to simplify the operation of curd, and adopt the method of object-based operation, easy to use
and understanding.
Add a piece of data$user = M (' user ');
$user->user = "Naruto";
$user->email
Install Uwsgi and Nginx. If you want UWSGI support python,you must install "Uwsgi-plugin-python"
sudo apt-get updatesudo apt-get install Uwsgi uwsgi-plugin-python nginx
First,we Create a simple Python script named "index.py" with
Date operations are common. The following is a simple feature. The main requirement is to differentiate between the time structures commonly used in PHP. Take a look at the following piece of code, which involves most of the time manipulation
MORE: http://www.webyang.net/Html/web/article_135.html
The latest in the standard is how to implement HTTP cross-domain requests,Cross-origin Resource Sharing
Simply put, the cross-domain target server is going to return a series of headers that
Often said page static is divided into two kinds, one is pseudo-static, that is, url rewriting, one is true static. We take the real static as the main point of speaking.
What is PHP static
PHP static simple understanding is to make the site
nginx (http://nginx.org/) is a Web server developed by the Russian people Igor Sysoev. It can be used to make an HTTP server, or it can be used as a proxy server. Light weight, high speed operation is the most prominent feature.
Nginx is a Web
After the recent NETBEAN8 installation, open the display loading cache object is strange strange disappeared, do not know what reason; simply use Phpstorm, but also good.
1: Download Address http://www.jetbrains.com/phpstorm/
2: Registration
Memory diagram
Contrast: Value passing
Little Practice
If you pass an object to a function, you actually pass an address
Contrast
}
Progress:
The __construct () construction method is a new php5
This memory
Using the foreach times in PHP: syntax error, unexpected T_endforeach errors
There are two ways to solve the problem:
1. The expression is followed by: instead of;
Result () as $row):?>
this,self,parent Three keywords are literally better understood, respectively, referring to this, oneself, father.
This is a pointer to the current object (let's look at the pointer in c)
Self is a pointer to the current class
The parent is a
Pro-Test direct use of Strtotime ("-1 day");
It shows that the day before today is yesterday. Today is determined by the current Unix time truncation.
Date_default_timezone_set (' PRC '); Default time zoneecho "Today:", Date ("Y-m-d", Time ()),
These two days, saw the "Preach Wisdom Podcast" Hanshunping Teacher's video. Now make a summary of the first few pieces of study! It's not a mistake to sharpen your knives.
Question 1. The problem with the architecture of the website.
First look
Not long ago, in the Call Forum reply content encountered smilies expression picture {: 4_267:}, the following talk about the solution.
Use regular on the server to format the smilies chart in the Post's content as a picture label format, and then
Everyone may encounter field duplication, many people on the web looking for methods, but also give some methods, but some methods are misleading, Optimus write the following methods to facilitate the use of everyone
1. Filter the duplicate
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