I have an admin panel, and I need to create some folders using mkdir(), the only problem is I get this error
Warning: mkdir() [function.mkdir]: Permission denied in /home/virtual/domain.com/www/htdocs/file.php on line 3465
This works on all my other linux servers.. so I set mkdir() to make a folder in /home/virtual/domain.com/www/htdocs/test/ and set /test to chmod 777, & it worked.
/htdocs is 755... &, I'm assuming you shouldn't be setting it to 777 for security reasons,
So what options do I have? I couldn't find anything on google, & I'm starting to get desperate..
Thanks in advance for any help..