(Solved) : Fix Code Prevent Cross Site Scripting Q37168183 . . .
How do I fix the code below to prevent Cross Site Scripting?
<?php
$file=$_POST[‘configdata’];
print(“About to show this configuration file:” . $file;
echo “<p></P>”;
$results = system (“type $file”);
print “data is ” . $results;
?>
Expert Answer
Answer to How do I fix the code below to prevent Cross Site Scripting? …
OR