php, error of getting json data -


i have webapp on local server wich using php 5.3.8. webapp works perfect. testing same code on our public host uses php 5.3.3-7 + squeeze9 (no idea of squeeze).

the point here simple of json data in url doesn't work on host.

i using this:

http://webs.myapp.com/print.php?data=[%22o20130718asdas460600442%22] 

at local server able info in data this:

$info = json_decode($_get['data']);    $acompanantes = $info[0]; 

but not able same on other server. know if update host server php's 5.3.8 99% work, afraid other things hosted there stop working update it.

any idea on how should try data ?? doing wrong ??

thanks in advance.

ps: both servers use json version 1.2.1.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -