[snip] What do I need to do to extract foo.bar from path/to/file.php/foo.bar [/snip] The manual is your friend ;o) http://www.php.net/basename/ HTH, Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php