遇到了我已經構建的窗體的問題。用戶在地址字段中輸入散列(#)作爲他們的地址。當提交表單後將他們的地址放入查詢字符串中時,所有的GET變量都會在具有#的字段之後中斷。任何人都知道爲什麼會發生?我是否需要將#轉換爲不同的字符或使用其他類型的編碼?這是我從查詢字符串抓住值頁面上的代碼..#查詢字符串中斷php GET
<?php echo $_GET["address"]; ?><br/> // if this field has a # in the value, the GET variables below do not work..
<?php echo $_GET["city"]; ?><br/>
<?php echo $_GET["state"]; ?>
[有點相關](http://stackoverflow.com/questions/8528925/get-variable-with-messed-up-encoding) – George 2013-05-09 17:32:47