a more comprehensive set of PHP tutorials , basic video and some small combat projects, below is the video directoryCD-ROM (i) \php employment Class (I.)CD-ROM (i) \php Technical exchange zone. URLCD-ROM (i) \ "Wisdom Special issue" belongs to it
The PHP Security Configuration method described in the wooden wing download system. I. Web server security PHP is actually a module function of the Web server. Therefore, we must first ensure the security of the Web server. Of course, to ensure the
The answer is: when the server uses the php feature (function) to include any file, the source of the file to be included is not strictly filtered, so that it can contain a malicious file, we can construct this malicious file to achieve the evil
1. File directory operation
The topmost stop is the disk root directory, with '/' or '//'
Current directory./
.. /indicates that the Apache directory is the Htdocs directory
1. Creating and Deleting Directories mkdir
Copy CodeThe code is as follows:
1. File directory operation
The top stop record is the disk root directory, with '/' or '/'
Current directory./
.. /Represents the Apache directory, the Htdocs directory
1. Create and delete directories mkdir
Copy CodeThe code is as follows:
if
1. File directory operation
The top stop record is the disk root directory, with '/' or '/'
Current directory./
.. /Represents the Apache directory, the Htdocs directory
1. Create and delete directories mkdir
Copy Code code as follows:
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;
One: Apache restricts a directory against parsing PHPA directory is forbidden to parse PHP, this is very useful, we do the site security, this use a lot of, such asSome directories can upload files, in order to avoid uploading files have xxx, so we
if (mkdir ("./path", 0700))//Create the path directory in the current directory
echo "created successfully";
?>
Copy Code2. Get and change the current directory using the GETCWD () function to get the current working
Objective
When we develop, sometimes we need to involve images, upload and download files and other operations. For example, when registering an account, sometimes you need to upload pictures of the picture, this time you need to use the file
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.