Require_once return value on error?
| From: | Vincent DUPONT | Date: | Fri, 30 Apr 2004 10:34:53 +0000 |
| Subject: | Require_once return value on error? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185032@lists.php.net to get a copy of this message | ||
Hello,
I need to load various php files programatically and I use require_once($file_path) for this
purpose.
My question is : is there a way to know if the file was found or not? if the file generated an error
or not?
thank you
vincent