note 15596 added to function.basename
| From: | NoisyLab23 at aol dot com | Date: | Sat, 22 Sep 2001 04:07:48 +0000 |
| Subject: | note 15596 added to function.basename | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18157@lists.php.net to get a copy of this message | ||
Extract the filename for win32's path:
function myBaseName($input)
{
$pos = strRpos($input, '\\');
return substr($input, $pos + 1);
}
http://www.php.net:8070/manual/en/function.basename.php