Wildhalf Posted March 3, 2007 Share Posted March 3, 2007 This may seem silly to most but i can't get the syntax right... I have a php file checking a value in my database and opening one page if it is a 0 and another if it is a 1. My Problem is that the page returned when the value is a 0 is in the root directory while the php file is stored in a subfolder of another folder eg. "/test1/test/" I thought this... include "../re_offer.htm"; Would let me view the file but i keep getting errors Warning: main(../re_offer.htm): failed to open stream: No such file or directory in "blaa Blaa on line 39 The code above is line 39 Link to comment https://forums.phpfreaks.com/topic/41031-solved-no-such-file-or-directory/ Share on other sites More sharing options...
Wildhalf Posted March 3, 2007 Author Share Posted March 3, 2007 fixed it used the code in "blaa Blaa" include ""blaa Blaa"/re_offer.htm"; Link to comment https://forums.phpfreaks.com/topic/41031-solved-no-such-file-or-directory/#findComment-198683 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.