Hi Dunstan, For the query string part of the URI use $_SERVER['QUERY_STRING'] it doesn't include the '?' IIRC... HTH Cheers Rich -----Original Message----- From: thelist-admin at lists.evolt.org [mailto:thelist-admin at lists.evolt.org]On Behalf Of Dunstan Orchard Sent: 17 September 2002 11:31 To: evolt list Subject: [thelist] re: I need more than $PHP_SELF Or alternatively, how do I grab anything after and including the '?' in a URL? It would be better for me to be able to have: ?resultpage=2&search=nature as a variable I can use. I've been searching all morning and I'm not having any luck... thankyou - dunstan --------------------------- Dorset, England http://www.1976design.com/ http://www.orchard.it/ http://www.maccaws.org/ -- For unsubscribe and other options, including the Tip Harvester and archive of thelist go to: http://lists.evolt.org Workers of the Web, evolt !