Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Permission denied?
October 17, 2006, 8:24 pm
rate this thread
failed to open stream: Permission denied in tmp/ ..
I am using linux and I've already chmod the php file to 777.
I tried adding exec("touch afile") in my php program and the result is
there is no exception but no file come out.
I am confused? how to control the permission in PHP?
Thanks a lot
Re: Permission denied?
Do you have permission to create files in tmp/? If this is being done
on a web page, that would be the userid the webserver is running under.
What's the actual fopen() you are using?
Remove the "x" from my email address
JDS Computer Training Corp.