if ( !@include ( "myfile.php" ) ) { // do this if file cannot be included ...code... ...code... }
Bob Lockie wrote:
I want to display an HTML page if PHP can't load an include file or otherwise has an error or just doesn't work.
How do I do this?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php