Try that again, without pressing ctrl-enter this time!!
As I said, I have got the usual script:
<?
if(isset($action))
{
$include = $action;
} else {
$include = "home";
}
include($include. ".inc");
?>
but, how do I put in a custom error page instead of seeing:
Warning: Unable to access anyotherpage.inc in
/var/virt/home/stuffwefound-co-uk/public_html/index.php on line 70
Warning: Failed opening 'anyotherpage.inc' for inclusion (include_path='') in
/var/virt/home/stuffwefound-co-uk/public_html/index.php on line 70
I have got an error page for any other url i.e. apagenotfound.php but I dont know
how to overcome the above.
Thanks in advance
Lee