Help - Search - Members - Calendar
Full Version: Problem Creating Files/subfolders
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
PHP_student
Whenever I try creating a new file/subfolder it always says Can't create file/directory "name here"
herb2006
QUOTE(PHP_student @ Nov 5 2009, 12:01 AM) *
Whenever I try creating a new file/subfolder it always says Can't create file/directory "name here"


chmod 777 the folder in which you will creat new files or folders.
PHP_student
thanks
herb2006
QUOTE(PHP_student @ Nov 5 2009, 10:45 PM) *
thanks


smile.gif

but i found a problem, when i creat a folder via my php script, and chmod 0777 the folder, however,
the php script could not creat files in the new folder. probably it is for the safe cause of the server.

it means that the folder in which we can creat files must be created by the owner of the host,
but the folder created via the php script belongs to another user.


note: i have just tested chown(), and it is not permitted by our host server.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.