note 56141 deleted from function.include by felipe
| From: | felipe@php.net | Date: | Mon, 10 Dec 2007 18:22:50 +0000 |
| Subject: | note 56141 deleted from function.include by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133274@lists.php.net to get a copy of this message | ||
Note Submitter: wamsleye at yahoo dot com
----
I had been looking around on how to make sure that a file is included, I guess the way to do it
changed with new version, here we go:
<?php
if ((include "header.php") == true) {
echo ("header loaded");
}//end if
else{
echo("header not loaded");
}//end else
?>
hope that helps!