On Wednesday, April 24, 2002, at 04:04  PM, ROBERT MCPEAK wrote:

> I need code that grabs the file at the end of a file path.
> I have this:
>
> /usr/blah/doh/yuck/wow/abigfile.html
>
> And would like to return this:
>
> abigfile.html
>
> Could somebody show me how to do this?


http://www.php.net/manual/en/function.basename.php





----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


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

Reply via email to