can you use: include_once("filename");
This way, if it wasn't included, it will be. If it was included, this statement is
ignored.
----- Original Message -----
From: "Greg" <[EMAIL PROTECTED]>
To: <>
Sent: Monday, February 17, 2003 10:18 AM
Subject: [PHP] check if a file has already be included
Is there any way to check if a file has been included / required already,
and if not include / require it?
Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php