Page 1 of 1

mkdir() permissions

Posted: Mon Jun 02, 2003 5:32 pm
by Jim
I'd like to change the permissions in PHP.ini to allow me to use mkdir() and to upload files.

I have access to the file, and am curious as to what I have to edit within the files to use this capability.

Thanks!

Posted: Mon Jun 02, 2003 9:09 pm
by McGruff
sample php.ini file uploads section:
;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;
file_uploads=On ; Whether to allow HTTP file uploads
upload_tmp_dir="D:\EasyPHP\tmp\" ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize=2M ; Maximum allowed size for uploaded files
Afaik, in order to use mkdir() the parent either has to be owned by php or chmod'd 777 with an FTP program - can turn it back to 755 after the folder has been created.