Re: require_once for php3
| From: | Jason Sheets | Date: | Mon, 24 Mar 2003 04:51:45 +0000 |
| Subject: | Re: require_once for php3 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140796@lists.php.net to get a copy of this message | ||
You could write a wrapper around the include function that uses a global array, each time it is called it checks the global array to see if the file has been included, if it hasn't it includes the file and adds the file to the array.
Jason
daniel wrote:
hi there is a way to include files once in php3 ?