gardan06 Posted August 29, 2006 Share Posted August 29, 2006 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. Link to comment https://forums.phpfreaks.com/topic/19036-problem-with-fopen/ Share on other sites More sharing options...
hitman6003 Posted August 29, 2006 Share Posted August 29, 2006 it means that the directory doesn't have proper permissions to create files Link to comment https://forums.phpfreaks.com/topic/19036-problem-with-fopen/#findComment-82312 Share on other sites More sharing options...
gardan06 Posted August 29, 2006 Author Share Posted August 29, 2006 i checked the directory of the folder im working on, and the permissions are set to 777 though. Link to comment https://forums.phpfreaks.com/topic/19036-problem-with-fopen/#findComment-82333 Share on other sites More sharing options...
wildteen88 Posted August 29, 2006 Share Posted August 29, 2006 Whats the permissions for userfeed12.txt? Link to comment https://forums.phpfreaks.com/topic/19036-problem-with-fopen/#findComment-82345 Share on other sites More sharing options...
gardan06 Posted August 29, 2006 Author Share Posted August 29, 2006 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.. Link to comment https://forums.phpfreaks.com/topic/19036-problem-with-fopen/#findComment-82356 Share on other sites More sharing options...
gardan06 Posted August 29, 2006 Author Share Posted August 29, 2006 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. Link to comment https://forums.phpfreaks.com/topic/19036-problem-with-fopen/#findComment-82379 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.