summaryrefslogtreecommitdiff
path: root/includes/js/dojox/rpc/tests/resources/jsonpEcho.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojox/rpc/tests/resources/jsonpEcho.php')
-rw-r--r--includes/js/dojox/rpc/tests/resources/jsonpEcho.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/includes/js/dojox/rpc/tests/resources/jsonpEcho.php b/includes/js/dojox/rpc/tests/resources/jsonpEcho.php
deleted file mode 100644
index 15d9aaa..0000000
--- a/includes/js/dojox/rpc/tests/resources/jsonpEcho.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
- $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;
-
-
-?>