RE: [PHP] shorter way to write include function?

From: Date: Wed, 31 Jul 2002 13:42:53 +0000
Subject: RE: [PHP] shorter way to write include function?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110520@lists.php.net to get a copy of this message
No. ---John Holmes... > -----Original Message----- > From: Bas Jobsen [mailto:bas@startpunt.cc] > Sent: Wednesday, July 31, 2002 7:58 AM > To: PHP General > Subject: [PHP] shorter way to write include function? > > 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

« previous php.general (#110520) next »