note 16627 added to function.explode

From: Date: Wed, 07 Nov 2001 08:06:52 +0000
Subject: note 16627 added to function.explode
Groups: php.notes 
Request: Send a blank email to php-notes+get-20541@lists.php.net to get a copy of this message
Here's some simple code to get the name of the current file, sans path: $self_path_array = explode('/', $PHP_SELF); $self_filename = $self_path_array[count($self_path_array) - 1]; -- http://www.php.net/manual/en/function.explode.php http://master.php.net/manage/user-notes.php?action=edit+16627 http://master.php.net/manage/user-notes.php?action=delete+16627 http://master.php.net/manage/user-notes.php?action=reject+16627

« previous php.notes (#20541) next »