CGI post method

Andrew M. Kuchling akuchlin at cnri.reston.va.us
Tue Apr 27 09:14:38 EDT 1999


Jon Cosby writes:
>Can somebody tell me what's wrong with the following form tag:
><FORM METHOD="POST" ACTION="http://127.0.0.1/cgi-bin/fibo.py">
><INPUT NAME="value" SIZE="10">
><INPUT TYPE="SUBMIT" VALUE="Enter"></FORM>
>
>My script isn't getting the text as input.

	It looks reasonable.  Try changing the method to "GET" and see 
if you wind up with /cgi-bin/fibo.py?value=10.  What error are you
seeing?

-- 
A.M. Kuchling			http://starship.python.net/crew/amk/
    "Mortal man?"
    "Yes?"
    "Beware of the dog."
    -- Charon warns Orpheus, in SANDMAN: "The Song of Orpheus"




More information about the Python-list mailing list