Bash and html forms

software development

#1

i want to create an html form and have it processed by a bash script. i can not get it to work. any help would be great.everything had been chmoded correctly.

here is the html:

THE BEGINING


First name:

Last name:

Male

Female


here is the bash script:

#!/bin/sh

echo $0 > mylog.txt

the bash script runs in the shell ok, but whn i try to run it from a browser i get…

Method Not Allowed
The requested method POST is not allowed for the URL /tmp/script1.sh.