with_fries_over_jsonp.php 193 B

1234567
  1. <?php
  2. error_reporting(0);
  3. $callback = $_REQUEST['callback'];
  4. $json = $_REQUEST['json'];
  5. $text = json_encode(file_get_contents(dirname(__FILE__)."/with_fries.xml"));
  6. echo "$callback($text)";
  7. ?>