I have a html page, and php script that is action of a form on the html page. I want to be able to get the last bit of text after the hash of the previous url (from the html page)
www.website.com/htmlpage#token5
So that I get just have the string: "token5" placed into a varible so that when I submit the html form, the PHP script gets the previous URL or something on those lines, to be able to get this string.
something like:
1. submit form from www.website.com/htmlpage#token5
2. action of form goes to www.website.com/phppage
3. php page gets the "token5" string.
How would I go about doing this? thanks`