'include' function
| From: | Krzysztof Socki | Date: | Fri, 06 Dec 2002 11:53:35 +0000 |
| Subject: | 'include' function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-92158@lists.php.net to get a copy of this message | ||
Hello!
Can anyone tell me if it's possible to extent PHP with a function that
includes other PHP file? I know that 'include' is not a function, is it
possible to work it around? I need a function that includes a file
respective to the location of the running script. Maybe I could extend the
parser to use an alias of 'include' with a constant file path? I'd be
grateful for your help. Thanks in advance.
Krzysiek Socki
ksocki@onyx.pl