http://us3.php.net/basename Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Vernon wrote: > SOLVED! > > I made the following change as well to fix the file name: > > BEFORE: > echo date("m-d-Y", $entry['filemtime']) . " {$file}<br />\n"; > AFTER: > echo date("m-d-Y", $entry['filemtime']) . $entry['filename'] . " > <br />\n"; > > One last question. > The $entry['filename'] is the file name and path: > /home/website/public_html/resumes/1218044880/filename.htm > > How do I get it to display filename.htm only? > > Thanks for all your help Jim. > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php