Jump to content

Get URL with anchor


mryarbles

Recommended Posts

I'm trying to figure out if there is a way to retrieve the entire url including an appended anchor

 

For instance: if you entered the url: http://www.url.com/application/#/page/1/

 

$_SERVER["REQUEST_URI"] is "/application/".  The anchor "#/page/1/" is nowhere to be found.

 

Does php have any way of retrieving that following anchor?  Do I have to do this with javascript?

Link to comment
https://forums.phpfreaks.com/topic/124536-get-url-with-anchor/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.