The content is less, and later replenished and enriched. 1, branch structure if () if () {}elseif () {} switch statement: Switch CASE2, loop structure break with continue while do...while for Foreach Loop 3, contain control include ()/ Include_once (
ASP is a Microsoft company to implement Dynamic Web page of a technology. ASP supports some scripting languages, mainly Vbscripp. Compared to ASP, you can also choose another open source programming language--php,php can run under a variety of
Natsort
(PHP 4, PHP 5)
natsort-using the "natural sort" algorithm to sort arrays
DescriptionBOOL Natsort (array & $array)This function implements a sort algorithm that is similar to how people usually sort alphanumeric strings and maintains the
This article refers to someone else's article, detailed steps:
First, start the terminal terminal
Second, input pico. Bash_profile Enter.
Third, enter the following "path depends on the facts":
[PHP]Export
Encountered some problems also found in the above Web site answers
Below is the contents of my index profile mysql.conf
[PHP]SOURCE MySQL{Type = MySQL Sql_host = localhostSql_user = rootSql_pass = Mfysql_db = ZlkSql_port = 3306Sql_query_pre = SET
Configuration and Compilation: Here is the simplest version, disable off all the expansion modules;
[Plain]./configure--prefix=/home/pub/johnny/network/install-php--host=mips-linux-gnu--datadir=/home/pub/johnny/
Today's web site generally need to deal with the database, access to a large amount of the database will be a great pressure. Caching the results of some dynamic page execution, and accessing the cache directly during the next visit can reduce the
Today I learned the function of Curl extension. wrote a httppost function, which I think can be used to do online updates. Or download remote resources online.
[PHP]Echo HttpPost
When building the lamp environment, both Apache and PHP are installed manually, and only the default extension library for PHP is installed. The Curl Extension Library was not loaded when it was used with curl.
Had to be installed manually.
1.
The site to the server after the migration encountered some problems, summarized here: 1, no response, no hint, return blank page 2, there is content, but confusion, there are many lost, and no CSS style 1, the environment is Nginx server after
If the PHP version is 5.2.x
If it is a lamp environment, then PHP source files php-5.2.x.tar.gz extracted will have a php-5.2.x folder.Under Php-5.2.x's folder./configure--prefix=/opt/php5.2, make, makes Intall,The php5.2 folder (which is required
After testing, first release my Code
[PHP]
Session_Start ();/** Remove Boom is utf-8* Vcode (M,N,X,Y) m digital display size n edge width x Edge height y* http://blog.qita.in* Rewrite the recording session yourself $code*/ Vcode (4, 12); 4 digits
Recent projects require an array with such a requirement that the contents of the arrays itself may change constantly, and if you know a key name for the array, how do I get the next key name? At the beginning of the thought will not be difficult to
On the internet to find some of the methods of Windows to perform PHP's scheduled tasks, there is a very full, unfortunately, I did not pass the case. In the end, I had to combine the methods of each gate to succeed in my operation.
1, write a PHP
Today's summary:
Correlation model
One_to_one:has_one&belongs_to
One_to_many:has_many&belongs_to
Many_to_many
Model Class Integrated association model class first in the model-side definition table nameDefine the protection variable $_link = array (
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