sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
433 B

<?php
// ensure that we don't try to send "html" down to the client
header("Content-Type: application/json");
$jsonp = false;
$result = "";
if ($_REQUEST["testCallbackParam"]){
$jsonp=true;
$result .= $_REQUEST['testCallbackParam'] . "('";
}
if (!$_REQUEST["message"]){
$result .= "ERROR: message property not found";
}
$result .= $_REQUEST["message"];
if ($jsonp) {
$result .= "');";
}
print $result;
?>