php print current url using $_GET -


i working arround url in php

my url is

http://localhost/my__file.php?location=http://www.testsite.com/photo-gifts/custom_photo_necklace_oval_charm#design=68793492 

when printing url using

$_get['location']; 

it prints only

http://www.testsite.com/photo-gifts/custom_photo_necklace_oval_charm

it not displaying me full url i.e. #design=68793492

please me on this

the last part separated # fragment, never submitted server. should url encode entire location value special characters preserved/lose meaning.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -