☰
Debian Codegraph
@
1.17.3+dfsg1-1
/
/
dojox
/
rpc
/
tests
/
resources
/
echo.php
☽
☼
dojox/rpc/tests/resources/echo.php
code
plain
raw
symbols
SCIP
BSD-3-clause
or
AFL-2.1+
2004-2022, The Dojo Foundation
debian/copyright
1
<?php
2
// ensure that we don't try to send "html" down to the client
3
header
(
"
Content-Type: text/plain
"
);
4
5
if
(!$
_REQUEST
[
"
message
"
]){
6
print
"
ERROR: message property not found
"
;
7
}
else
{
8
//Escape it, just to be safe
9
print
htmlentities
($
_REQUEST
[
"
message
"
]);
10
}
11
?>