Forum Moderators: coopster

Message Too Old, No Replies

REQUEST_URI and URL Anchors

How to retrieve the anchor value: page.html#bottom

         

geckofuel

10:57 pm on Apr 27, 2003 (gmt 0)

10+ Year Member



I'd like to be able to find the anchor value of URLs but am having trouble finding a way to do this in PHP. Any suggestions?

for example if the following page is accessed:

page.html#bottom

REQUEST_URI only returns page.html. How would I retrieve the #bottom portion?

DrDoc

11:06 pm on Apr 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



PHP Predefined Variables [php.net]

Tried QUERY_STRING?

eaden

11:08 pm on Apr 27, 2003 (gmt 0)

10+ Year Member



[php.net...]

DrDoc

11:10 pm on Apr 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



...or $_GET[0]?