php - How can I get the full current web utl INCLUDING current #anchor? -


dear fellow earthlings, question url of current page.

on page there div "share link" box, php has echo curent domain + page link, everything, including thecurrent anchor "#"

   <?=$currentlink?>   "http://website.org/language/page#anchor17" 

question a
possible php know , echo full current link way first httpl//.... till #anchorxxx ?

question b
whats php function show entire current url?

is possible php know , echo full current link way first httpl//.... till #anchorxxx ?

no. fragment identifier handled purely client. never sent server.

whats php function show entire current url?

if exclude fragment identifier can join various bits in $_server. http://dev.kanngard.net/permalinks/id_20050507183447.html has more details.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -