Please allow me to feel a deep sigh, wow.
First ImpressionIn the cause of work, forced to use PHP, so the study ~, spent two days learning to install the deployment of the grammar run, spent two days to see the Forum and Mall of the source code, in
The comparison operator in PHP is a bit weird and prone to error, and now lists the comparison rules:
1, when two characters for size comparison, is compared to the ASCII size of these two characters-this is easy to understand.
2, when the two
Whether I compare two numbers or strings, it is clear that two of them are equal.
if ("10012014021504410429" = = "10012014021504410429") {echo "Come";
}
The visual procedure automatically converts the string into decimal digits, the type of
1. What is closureClosure personal understanding is an anonymous function that provides local variables within an external access function
2. Why do you use closures?The closure definition has explained that we want to access local variables
This is the time to do a small project: Which wrote a sentence:
if (Isset ($_cookie[' user ')) &isset ($_cookie[' role ') &mysql_affected_rows ()) {
Codes
}
When submitting a query to MySQL, the result is not returned as long as an even
Speaking of this, is depressed, the Internet to find n information, it is more and more confused Ah, and finally I see the code to fix. For the convenience of future study also small remember it.
1, download FCKeditor multi-language version
2,
In PHP, you can get the type of a variable by gettype.
Example:
';
Echo ' $b is ', GetType ($b), ' type ', ' ';
Echo ' $c is ', GetType ($c), ' type ', ' ';
Echo ' $d is ', GetType ($d), ' type ', ' ';
Echo ' $e is ', GetType ($e), ' type ', '
A single linked list, as its name suggests, is a chained data structure that has a table header, and all nodes have their successors except for the last node. The following figure.
First, we write out the class of the linked list node. Each node
Because less contact, so I only know that curl only support get or POST request form, and online search is generally introduced in these two kinds. It's been a long time since I met the interface in my project today to use the put form request.
The HTTP communication mechanism is that during a full HTTP communication process, the following 7 steps are completed between the Web browser and the Web server:
1. Establish a TCP connection
Before HTTP work begins, the Web browser first
Date_default_timezone_set ("PRC"); Set time zone
if (count ($_files) >0) {
$sort = Array ("Image/jpeg", "image/jpg", "Image/gif", "IMAGE/PDG");
Determine if it is a picture type
if (In_array ($_files[' img '] [' type '], $sort)) {
$IMG = "img"; Gets
1, the constant is sensitive to the case, general use capital letter to express;
2, inside the string, single quotation mark inside except backslash is special character, other characters are ordinary characters;
3, within the string, the double
Var_export
Var_export ($mix, $return);
$return parameter default False Var_export by string
(False | | []);
: false
Var_export (False | | [], true);
The result is true and is output by variable, so you can't see
Memcached::set
public bool
http://www.sebug.net/exploit/5799/
FCKeditor is an open source HTML text editor.File upload limitation vulnerabilities exist in the FCKeditor editor/filemanager/browser/default/connectors/php/connector.php module:147. Function FileUpload
First , the basic principle of PHP-know its why, look at a picture
1, we write the PHP code is not directly run, it first through the lexical analyzer-parser and compiler
Here you may find that PHP is a compiler language. PHP is generally
How to correctly count the number of characters in PHP. This is a problem that has plagued me for a long time, there are many functions in PHP that can calculate the length of strings, for example, the following example, using the
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