PHP Tutorial Configuration Chinese Narration
Let's see what you see, php.ini.
[PHP]
;;;;;;;;;;;; WARNING;;;;;;;;;;;;; This is the default settings file for new PHP installations.; By default, PHP installs itself with a configuration suitable for;
In a project, if the magic quotes are open, all backslashes (\), single quotes ('), double quotes ("), and NULL characters are automatically escaped with a backslash, which is exactly the same as the addslashes () function. Here are four related
Read the Thinksaas part of the source code, found that the $_post/$_get over the data processing method is through the function add_s (), that is, the environment by default does not open the MAGIC_QUOTES_GPC, the data submitted to the addslashes ()
This file controls many aspects of PHP's perspective. In order for PHP to read this file, it must be named
; ´php.ini´. PHP will locate the file in turn: current working directory; environment variable PHPRC
; The specified path, the path specified
PHP is a simple and easy to learn, powerful language, especially in the web development, the development of high efficiency, convenient and fast. It's a good idea to study php.ini about PHP-related configurations and get a better understanding of
Compiling the source package requires./configure then compile a. so fileOne less error packetInstall packageNormal displayThe LS directory has a./configure fileQuerying module LocationsEditing a configuration fileEditing a configuration fileIncrease
Common PHP vulnerabilities: Injection Vulnerability injection brings controllable user variables into database operations and changes the original SQL intention. For example, in the logic of registering a user, when detecting whether the user name
The MAGIC_QUOTES_GPC method is based on your php.ini configuration, if you open the MAGIC_QUOTES_GPC to generate, his role and addslashes is the same, let me give a detailed introduction about MAGIC_QUOTES_GPC usage.
Read the Thinksaas part of the
[PHP]; 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.;;;;;;;;;;;;;;;;;;;;
From (http://www.cnblogs.com/hbl/archive/2008/02/15/1069367.html)[PHP]; 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
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.