Re: include name ?

From: Date: Wed, 19 Jul 2000 22:01:37 +0000
Subject: Re: include name ?
Groups: php.general 
Request: Send a blank email to php-general+get-7356@lists.php.net to get a copy of this message
You must set up your include default directory in the php.ini, otherwise it defaults to the directory that the script is being ran from. -----Original Message----- From: Hellekin O. Wolf <hellekin@mmania.com> To: php-general@lists.php.net <php-general@lists.php.net> Date: Wednesday, July 19, 2000 9:05 AM Subject: [PHP] include name ? >Hi, > >how can I get the name or path to an included file ? > >Example : > >file1.php ><?php > >echo $file1_name; > >include "file2.php"; > >?> > >file2.php ><?php > >echo $file2_name; > >?> > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#7356) next »