Sha256: 04d959ba3e483206d6b6e977b131706de348ba6b5e334170ca790c3887f154c8

Contents?: true

Size: 383 Bytes

Versions: 12

Compression:

Stored size: 383 Bytes

Contents

<?php
error_reporting(0);
$callback = $_REQUEST['callback'];
if ( ! $callback ) {
	$callback = explode("?",end(explode("/",$_SERVER['REQUEST_URI'])));
	$callback = $callback[0];
}
$json = $_REQUEST['json'];
if($json) {
	echo $callback . '([ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ])';
} else {
	echo $callback . '({ "data": {"lang": "en", "length": 25} })';
}
?>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
lady_josephine-0.7.0 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.6.3 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.6.2 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.6.1 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.6.0 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.5.0 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.0.4 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.0.3 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.0.2 vendor/assets/components/jquery/test/data/jsonp.php
lady_josephine-0.0.1 vendor/assets/components/jquery/test/data/jsonp.php
guff-compass-1.0.0 demo/bower_components/jquery/test/data/jsonp.php
guff-compass-0.7.0 demo/bower_components/jquery/test/data/jsonp.php