note 85369 modified in function.basename by googleguy
| From: | googleguy@php.net | Date: | Sat, 12 Jan 2013 09:46:42 +0000 |
| Subject: | note 85369 modified in function.basename by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192963@lists.php.net to get a copy of this message | ||
There is only one variant that works in my case for my Russian UTF-8 letters:
<?php
function mb_basename($file)
{
return end(explode('/',$file));
}
><
It is intented for UNIX servers
--was--
There is only one variant that works in my case for my Russian UTF-8 letters:
function mb_basename($file)
{
return end(explode('/',$file));
}
It is intented for UNIX servers
http://php.net/manual/en/function.basename.php