On Friday, July 25, 2003, 4:59:24 PM, Shaun wrote: S> thanks for your reply,
S> but that doesn't seem to work either, how about removing everything after S> and including the ?, how would i do that? try echo basename($_SERVER['PHP_SELF']) Please trim your posts :) -- Regards, Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php