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