File Uploading concepts in PHP
File_uploads: By using this directive we can allow and stop the file uploads.
Upload_tmp_dir: By using this directive we can provide the exact location of temporary directory to upload files.
Upload_max_filesize: This configuration directive is used to provide the maximum file size to upload.
Types of errors at the time of file uploading in PHP
If the return value is 0, then uploaded successfully.
It returns 1, if the file size is maximum than upload_max_filesize value.
It returns 2, If the file size is maximum than browsers configuration settings value.
It returns 3, If there is any network problem , at the time of file upload.
It returns 4, If user clicks on submit button, without selecting any file.
i writing right coding for file uploading but output always show invalid format?
ReplyDelete