string urldecode ( string $str )
<?php
$url = "http://www.google.com.hk/search?sourceid=chrome&ie=UTF-8&q=%24action+%3D+%24_GET%5B'action'%5D+%3F+%24_GET%5B'action'%5D+%3A+%24_POST%5B'action'%5D%3B";
echo (urldecode($url));
?>
http://www.google.com.hk/search?sourceid=chrome&ie=UTF-8&q=$action = $_GET['action'] ? $_GET['action'] : $_POST['action'];
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |