This article describes the new features of PHP6. Share to everyone for your reference, as follows:
1. Support for Unicode
Unicode support is inevitable, although Unicode occupies more space, but the convenience of Unicode, far more than the
This article mainly introduces about php.ini configuration detailed, has a certain reference value, now share to everyone, the need for friends can refer to
[Php]engine = on---> whether the PHP parsing engine is enabled Short_open_tag = Off--->
Highly recommended: php. ini Chinese version (2 ). Track_varsOn; make $ HTTP _ * _ VARS [] array valid. here * is used in use; ENV, POST, GET, COOKIEorSERVER replaces post_max_size8M; PHP will accept the maximum size of POST data. Gpc _ track_vars =
PHP is careful with the SQL injection vulnerability caused by urldecode. The DiscuzX1.5 Forum of Ihipop school was hacked and had a quarrel for an afternoon. Google "Discuz! X1-1.5notify_credit.phpBlindSQLinjectionexploit, you know. Discuz was
For example, Hello\ 's world, after addslashes processing, becomes the following string:
hello\\\'s world
At this point, the string is processed using Stripslashes, and if the Magic_quotes_sybase entry is not turned on, the two backslashes will all
Problem: After Blue Point Linux 2.0 is installed, PHP programming can only process GIF images, but not JPEG images. Later I learned that PHP used the GD library to process images, and the GD library started to support GIF. However, due to the use of
Parse XML using PHP toolkit expat-------------------------------------------------------------------------------- Author: BUILDER. COMNow everyone advocates that XML is the best friend of Web developers. With the help of XML, the latter can easily
Organize some PHP development security issues
PHP gives developers a great deal of flexibility, but this also poses a potential risk to security issues, the recent need to summarize the past problems, here to lend a translation of an article at the
The foreground page serializes an object into the background and submits it to the back end with Json_decode to restore the object.
function Build_exitbox () {///Builid build the pop-up window for editing var obj1={title: "Contract Information",
Issue: After installing the Blue Dot Linux 2.0, PHP was programmed to find that only GIF images could be processed and JPEG images could not be processed. Later know that PHP processing images, using the GD library, and the GD library started with
PHP6 New characteristics Analysis, PHP6 new features
This article describes the new features of PHP6. Share to everyone for your reference, as follows:
1. Support for Unicode
Unicode support is inevitable, although Unicode occupies more space, but
; PHP is also a constantly evolving tool, and its functionality is constantly being truncated.
; And PHP.ini's settings change can reflect a considerable change,
; It's good to study php.ini before using the new PHP version.
;;;;;;;;;;;;;;;;;;;
;
This article mainly introduces the description of common PHP compilation parameters in Chinese. This article describes the function of PHP compilation parameters in Chinese. For more information, see
This article mainly introduces the description of
Php method to prevent malicious page refresh
In general, malicious refresh is constantly to refresh the submission page, resulting in a large number of invalid data, below we summarize the PHP prevent malicious Refresh page Method
1. Go to the PHP website to download the source http://www.php.net/downloads.php, I download the version used is (php-5.4.8.tar.gz)2. Extract to/usr/src directory, execute command: sudo tar-zxvf php-5.4.8.tar.gz-c/usr/src3. Implementation./configure-
Problem: After Blue Point Linux 2.0 is installed, PHP programming is performed, and only GIF images can be processed, but JPEG images cannot be processed. Later, I learned that PHP used the GD library to process images, and the GD library started to
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.