Category:PHP

Execute System Command from FORM
First, shows a form: argument 1: __________ password : __________ [execute command] When 'execute command' is clicked, it runs ./command.sh argument1 -ppassword and shows the output. &1"); } else { ?> Utility Page

 argument 1:  password: 





POST
Post from a form:  Gender:&lt;br> Male &lt;br> Female &lt;br> Name: &lt;br> Are you a subscriber? &lt;br>  

And receive it with showResult.php: &lt;pre>  &lt;/pre>

GET
Encode in URL: http://www.something.org/showResult.php?name=john&age=30

And receive it with showResult.php: &lt;pre>  &lt;/pre>