Discussion:
FORM POST/GET not working
(too old to reply)
hopeless2001
2014-10-04 11:07:13 UTC
Permalink
Hello, I am new to writing on forulms but need some help on running a python script.
the scgi cript works on my respberry pi , in correct place /permissions etc, and displays the query string typed in the address bar,
but
Trying to run this from a HTML form gives the message:

Open or discard file?

instead of running the script

<FORM method=POST(or GET) action"path to the script">
<input type=text name =code>
<input type-submit>
</FORM>

Yhis may be a typical beginners problem with the APACHE2 settings, I have been over the setting from the APACHE web-pages,

any help much appreciated.
Chris F.A. Johnson
2014-10-04 21:57:42 UTC
Permalink
Post by hopeless2001
Hello, I am new to writing on forulms but need some help on running a python script.
the scgi cript works on my respberry pi , in correct place /permissions etc, and displays the query string typed in the address bar,
but
Open or discard file?
instead of running the script
<FORM method=POST(or GET) action"path to the script">
<input type=text name =code>
<input type-submit>
</FORM>
Yhis may be a typical beginners problem with the APACHE2 settings, I have been over the setting from the APACHE web-pages,
any help much appreciated.
One equals sign missing; one hyphen that should be an equals sign:

<FORM method=POST(or GET) action="path to the script">
<input type=text name =code>
<input type=submit>
</FORM>
--
Chris F.A. Johnson
Loading...