Generally, you do not need to change the PHP settings. it usually works well according to the default configuration. However, developers who are PHP designers consider that users may occasionally need to adjust some features of the PHP language for
Php security configuration records and common errors (Summary), common php errors
After the php environment is deployed, some security settings are made. In addition to being familiar with various php vulnerabilities, you can also configure php. ini
After the php environment is deployed, some security settings are made. in addition to being familiar with various php vulnerabilities, you can also configure php. ini to reinforce the runtime environment of PHP, and PHP has been officially modified
Codeigniter file upload code example
File Upload class
CodeIgniter's file upload class allows files to be uploaded. You can specify the file type to be uploaded and the file size to be specified.
Handling process
The general process of uploading
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;
: This article mainly introduces the restrictions that are often touched upon by php. ini. if you are interested in PHP tutorials, please refer to them. Max_execution_time
Php maximum execution time. the default value in php. ini is 30. that is,
You need to upload files when processing background data recently. fine Uploader is used for browser adaptation. fine Uploader uses ajax to upload files. at the same time, you can drag and drop files in the browser. [The requirements for browser
You need to upload files when processing background data recently. fine Uploader is used for browser adaptation. fine Uploader uses ajax to upload files. at the same time, you can drag and drop files in the browser. [The requirements for browser
The following excerpt from Baidu know a question and answer:
Q: Zen Channel system max upload file only 2M How to modify the increase a: in the host root directory has a php5.ini file, download down to add the following two statements, upload
1. to upload a file, you must first configure it as needed in PHP. ini.
There are several important configuration sheets:
Option
Default Value
Description
Post_max_size
8 m
Controls the maximum size of post requests.
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.