[Tutor] environment data [CGI]
Sat, 29 Dec 2001 13:50:35 -0500
try saying ...?aaa=1&name=Source
So far as I know, unset variables don't make it through to cgi scripts
(at least under apache). Obviously, a lot of settings could affect this.
Blake Winton wrote:
> * Danny Yoo <email@example.com> [011229 01:48]:
>>On Fri, 28 Dec 2001, Sean 'Shaleh' Perry wrote:
>>>>cgi module leaves me baffled, but if I can just read the bloddy
>>>>environment variable I can run with it from there.
>>So cgi.FieldStorage() almost behaves like a dictionary, with the exception
>>that to get at the actual value, we need to do something like
>>'form[key].value' instead of just 'form[key]'. Why?
> My question is why I can't get the "aaa" from the url
> the "name=Source" comes through fine, but the aaa is lost.
1 Court Street, Suite 378
Lebanon, NH 03766-1358