Skip to content
Permalink
Browse files
Fixed eval code (Thanks Fil)
  • Loading branch information
jzaefferer committed Jan 10, 2007
1 parent 8ec860d commit 378bb9ded8df94f68a9c712375eda925778c33e4
Showing with 1 addition and 1 deletion.
  1. +1 −1 build/test/data/name.php
@@ -7,7 +7,7 @@
$xml = $_REQUEST['xml'];
if($xml) {
header("Content-type: text/xml");
eval("\$result = $xml;");
$result = ($xml == "5-2") ? "3" : "?";
echo "<math><calculation>$xml</calculation><result>$result</result></math>";
die();
}

0 comments on commit 378bb9d

Please sign in to comment.