I have a URL like this;
http://www.mydomain.co.uk/blist.php?prodCodes=NC023-NC022-NC024-NCB33&customerID=NHFGR
Which i grab using HTTP Referrer. The trouble is i only need the page name i.e. blist.php from the link, not the entire URL as is default using:
$_SERVER['HTTP_REFERER']
Can anyone give me an idea on how to grab that part of the URL?