31 lines
930 B
Plaintext
31 lines
930 B
Plaintext
From: akuchlin at cnri.reston.va.us (Andrew M. Kuchling)
|
|
Date: Tue, 27 Apr 1999 09:14:38 -0400 (EDT)
|
|
Subject: CGI post method
|
|
In-Reply-To: <7g31ah$hk2$1@sparky.wolfe.net>
|
|
References: <7g31ah$hk2$1@sparky.wolfe.net>
|
|
Message-ID: <14117.47102.615236.362798@amarok.cnri.reston.va.us>
|
|
X-UID: 300
|
|
|
|
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"
|
|
|
|
|
|
|
|
|