/** * Author: Avlesh Singh * Usage and documentation: http://apps.avlesh.com/JsonRequest * avlesh@gmail.com: for bugs, suggestions and improvements */ encode(parse_http_headers($raw), true); curl_close($ch); echo $_REQUEST['cb']."(".$encoded.");"; ?>