Jump to content

Archived

This topic is now archived and is closed to further replies.

gardan06

problem with fopen()

Recommended Posts

im trying to create a file using fopen, but i get this error:

[quote]Warning: fopen(userfeed12.txt): failed to open stream: Permission denied in /site/file.php on line 4[/quote]

id really appreciate the help. thanks.

Share this post


Link to post
Share on other sites
i checked the directory of the folder im working on, and the permissions are set to 777 though.

Share this post


Link to post
Share on other sites
well, im going to create that txt file named "userfeed12.txt", but that's the problem. file.php wont let me create that txt file..

Share this post


Link to post
Share on other sites
i know that the problem is with the permissions, but its weird that both file.php and the directory its in have both 0777 in their permission but somehow, it still wont allow me to make a new file from it.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.