PDA

View Full Version : PHP Include: If file not found, can i direct to a default file?



ukcoolat
04 Nov 2005, 09:05 AM
Hi there, please help a newb to the forum out...

I want to reference a PHP file using a PHP include, but if the file is not present I want it to display a default PHP file instead of that directly referenced.

Is this possible?

Thanks in advance. Alex.

ukcoolat
04 Nov 2005, 09:47 AM
Forget about it...I found a way. :)