我想呼應確切網址:http://domain.com/mystuff.html#123456
如何打印地址URL包括#
,但它只能打印http://domain.com/mystuff.html
如何包含#123456
?所以成爲http://domain.com/mystuff.html#123456
到目前爲止我的代碼
$urladdress = "http://".$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME']."?".$_SERVER['QUERY_STRING'];
的瀏覽器可能不發送''#(片段)服務器 – 2013-08-05 07:08:21