Okay, I have a user filling out a form. When they hit submit, their information is stored in a DB, but I also want to create a directory on my server. What is the function to create a dir, and can you give me an example of how to use it?
hai,
use the mkdir function to create a directory in chmod775
regards bvsureshbabu
Reading www.php.net really helps out with PHP...
I tried doing this and it gives me an error.
Warning: mkdir(/home/robking/public_html/clients/sites/4351c): No such file or directory in /home/robking/public_html/clients/admin/includes/create.php on line 22
That's what it says. :/
Does that directory exist?
Try removing the backslash at the beginning.
are your dir permissions set so that your web server can modify them?
IE, 755 or something akin to that?