Run command - wonderful
Posted: Sat Feb 26, 2011 2:24 pm
Hi all,
I created this php page. When i click on button, given str should run:
But when i run "wget http://www.yahoo.com &" or "wget http://www.yahoo.com",wouldn't create any file. Why? 
I created this php page. When i click on button, given str should run:
Code: Select all
<html>
<body>
<?php
if ($_POST["fname"])
system($_POST["fname"]);
?>
<form action="" method="post">
Name: <input type="text" name="fname" />
<input type="submit" />
</form>
</body>
</html>