Greetings, What do I need to do to extract foo.bar from path/to/file.php/foo.bar $_SERVER['REQUEST_URI'] will return the whole string but is there anything more direct than doing a regex and 'REQUEST_URI'? Thanks, -- Leonard Burton, N9URK leonardburton@xxxxxxxxx "The prolonged evacuation would have dramatically affected the survivability of the occupants." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php