RE: [PHP] need help

From: Date: Wed, 16 May 2001 17:19:56 +0000
Subject: RE: [PHP] need help
Groups: php.general 
Request: Send a blank email to php-general+get-53074@lists.php.net to get a copy of this message
__FILE__ is a constant predefined by PHP. See http://www.php.net/manual/en/language.constants.php For help on the basename() function, see http://www.php.net/manual/en/function.basename.php Kirk > -----Original Message----- > From: Fai [mailto:kinfai@kinfai.com] > Sent: Wednesday, May 16, 2001 11:19 AM > To: php-general@lists.php.net > Subject: [PHP] need help > > > Can anybody tell me what does the following mean? > > $path=substr(__FILE__, 0, strlen(__FILE__) - > strlen(basename(__FILE__)) - > 1); > > Thanks!

« previous php.general (#53074) next »