Jump to content

non exisiting page


only one

Recommended Posts

i cobe my webasite with includes, like,

include("$page.php");

 

the only problem is when a page doesnt exist i get an error like

Warning: main(the page.php): failed to open stream: No such file or directory in the place.php on line 1...

 

is there any way of stoping this from happening without haveing to do a big long list of if's or make up every page possible

Link to comment
https://forums.phpfreaks.com/topic/37014-non-exisiting-page/
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.