$x = json_decode($_GET['apply']);

解决方案 »

  1.   

    var_dump(json_decode($_GET['apply'],true));
    看輸出什麽?
      

  2.   

    var_dump(json_decode(urldecode($_GET['apply']),true));
      

  3.   

    print_r(json_decode('{"apply":{"name":"4747474","site":"http:\/\/4444444444444444","icon":"47","information":"474","about":"747","weibo":"74444444444","email":"74444444444444444","moblie":"89742589633","isfree":"y","applytime":1349939108}}'));stdClass Object
    (
        [apply] => stdClass Object
            (
                [name] => 4747474
                [site] => http://4444444444444444
                [icon] => 47
                [information] => 474
                [about] => 747
                [weibo] => 74444444444
                [email] => 74444444444444444
                [moblie] => 89742589633
                [isfree] => y
                [applytime] => 1349939108
            ))
      

  4.   

    LZ地址中参数apply前面多了个&符号,你看会不会是这个的问题
      

  5.   

    $json_string = $_GET["apply"];
     if(ini_get("magic_quotes_gpc")=="1")
     {
      $json_string=stripslashes($json_string);
     }