[FX.php List] PHP question

bob at patin.com bob at patin.com
Thu Jul 17 11:52:26 MDT 2008


I have a site where I'm including these static HTML pages; sometimes my
client doesn't put the pages where he's supposed to, and so the page shows
an error.

If I have code like this:

include_once($mypage);

and the referenced page doesn't exist, is there a way to trap that and
send the user to an error page instead?

Thanks,

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
iChat: bobpatin
AIM: longterm1954
FileMaker 9 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--------------------------
FileMaker hosting and consulting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting






More information about the FX.php_List mailing list