
July 9th, 2012, 06:02 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
If you would care to take a closer look at pathinfo, you'll see that not only does it tell you the basename of the file, but also the basename without the extension. You don't need basename() at all if you're going that route.
|