georgila Posted April 3, 2009 Share Posted April 3, 2009 hello. i have a php file and got stuck with this error : fopen(/choise_out.txt) [function.fopen]: failed to open stream: No such file or directory in C:\wamp\www\system\askisi.php on line 140 after hours of googling , i didnt find a solution.. the paradox is that in the first times, it was working.. i work with VISTA and i think that is something about permissions , or something to change in php.ini.. any help please..? Quote Link to comment https://forums.phpfreaks.com/topic/152437-problem-with-functionfopen-failed-to-open-stream/ Share on other sites More sharing options...
premiso Posted April 3, 2009 Share Posted April 3, 2009 The / before the file name it indicates that it should be in the root of the webserver. Is it? My feeling is it is not. Try removing that slash and see if it fixes it. Quote Link to comment https://forums.phpfreaks.com/topic/152437-problem-with-functionfopen-failed-to-open-stream/#findComment-800658 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.