Interview Questions

What changes I have to do in php.ini file for file uploading?

PHP Interview Questions and Answers


(Continued from previous question...)

What changes I have to do in php.ini file for file uploading?

Make the following line uncomment like:
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = C:\apache2triad\temp
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

(Continued on next question...)

Other Interview Questions