Re: function needed in different source files
| From: | Jon Parise | Date: | Sun, 16 Jul 2000 14:40:11 +0000 |
| Subject: | Re: function needed in different source files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6814@lists.php.net to get a copy of this message | ||
On Sun, Jul 16, 2000 at 08:57:15AM +0200, Harald Houppermans wrote:
> How can I include a script multiple times ?
In PHP 4, you can use include_once('filename.php').
In PHP 3, you should use the define() header guards that others have
already mentioned.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member