Loaded plugins: local, package_upload, product-id, search-disabled-repos, subscription-manager Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies # yum install rh-php70 rh-php70-php-pecl-memcached rh-php70-php-pecl-redis Ldd /opt/rh/rh-php70/root/usr/lib64/php/modules/memcached.so $jdata is the post data: $jdata = $this->input->post('requestdata'). Var_dump(json_decode($jdata)) returns null, but if I do a var_dump($jdata) everything looks OK. I tried url_decode, utf8_decode and html_entities_decode, but nothing seems to work. JSLint say the data is OK and the Content-Type of the request is set to application/x-so I can't use json_last_error(). I got a big problem posting data via jQuery Ajax as JSON to my Server.
0 Comments
Leave a Reply. |