shorter way to write include function?
| From: | Bas Jobsen | Date: | Wed, 31 Jul 2002 11:58:24 +0000 |
| Subject: | shorter way to write include function? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110505@lists.php.net to get a copy of this message | ||
Hello,
i have
/include/dotest.php:
<?
function dotest() {echo 'test';}
?>
and test.php:
<?
include('/include/dotest.php');
dotest();
?>
Us there a shorter way to write out that. I mean something like
include::dotest;
Thanks,