Code: Select all
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Echo test</title> </head>
<body>
<p> Entered value dispayed here:
<?
if (isset($testecho))
{
echo $testecho;
}
?>
</p><br>
<form action="testecho.php" method="get">
<input type="text" name="testecho" value="<?= $testecho ?>">
<input type="submit" value="enter" name="enter">
</form>
</body></html>How should I enter command into the form to make it run when I have "echo $testecho;"?
If I have - echo $testecho; And enter whoami i get -
Entered value dispayed here: whoami
BUT if I have - echo `$testecho`; And enter whoami i get -
Entered value dispayed here: username
Thanx alot!