I am looking for advice on how to strip an extension of a file name.
File name: lighthouse.jpg
I want to get: lighthouse
How to strip the extension
1 reply to this topic
Posted 04 March 2006 - 03:36 PM
Look at the functions [a href=\"http://www.php.net/path_info\" target=\"_blank\"]path_info[/a]() and [a href=\"http://www.php.net/basename\" target=\"_blank\"]basename[/a]().
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users