Jump to content

[SOLVED] No such file or directory


Wildhalf

Recommended Posts

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

Archived

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

×
×
  • Create New...

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.