Page 1 of 1

problem creating directory in php

Posted: Mon Apr 02, 2007 8:59 pm
by jimthunderbird
Hi All,
Recently I'm writing some php code to create directories in the server but I keep getting error message when using the mkdir function. Anyone knows how to solve it and any workarounds?
Thanks for your help.

With my best,
Jim

Posted: Mon Apr 02, 2007 9:35 pm
by feyd
It's probably permissions issues. You may find it better to use the FTP facilities of PHP.

Posted: Mon Apr 02, 2007 10:14 pm
by neophyte
Check phpinfo() to be sure mkdir() is not banned by your service provider.... On a shared host you just never know....