ROBERT MCPEAK <[EMAIL PROTECTED]> wrote:
> In other words:
> 
> basename(/usr/blah/doh/yuck/wow/abigfile.html)
> 
> resolves to : abigfile.html
> 
> but
> 
> basename(adirectory\onawindowsbox\abigfile.html)
> 
> does not resovle to abigfile.html.
> 
> Does anybody have a workaround for this?

Convert all \ to / before calling basename.

--
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to