I am trying to find a way to save the hash portion of a url and as a PHP variable. This idea is a bit kooky, but bear with me...
I\'d like to extract the \"location
You'll need to use Javascript to read this. There are a few different options - upon page load, you could use an XmlHTTPRequest (AJAX request) to tell the server what the additional URL parameters were. Alternatley you could check to see if there are additional parameters (also via Javascript), and if you find any, post back to a different URL that has these parameters encoded into the URL itself.