if dotest.php has got the code, do this: echo eval(join('', file('dotest.php'));
"Bas Jobsen" <[EMAIL PROTECTED]> wrote in message 02073113582400.32156@bjobsen">news:02073113582400.32156@bjobsen... > 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, > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php