<script> var Addr= ; encodeURIComponent(Addr); </script>PHP
<?PHP $Addr= rawurldecode($_GET["Addr"]); ?>javascript用encodeURIComponent;php用rawurldecode
原帖由 xxoxxoxxoxx 於 2009-11-13 23:05 發表
即然是用get的方式,試試將編碼轉換看看呢
javascript
var Addr= ;
encodeURIComponent(Addr);
PHPjavascript用encodeURIComponent;php用rawurldecode
歡迎光臨 jsGears.com 技術論壇 - AJAX, JavaScript, jQuery, 網站開發, 前端效能優化 (http://www.jsgears.com/) |