[Tutor] environment data [CGI]

Blake Winton bwinton@tor.dhs.org
Sat, 29 Dec 2001 10:05:10 -0500


* Danny Yoo <dyoo@hkn.eecs.berkeley.edu> [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
http://tor.dhs.org/cgi-bin/daily.py?aaa&name=Source
the "name=Source" comes through fine, but the aaa is lost.

Later,
Blake.
-- 
9:40pm up 52 days, 21:07, 2 users, load average: 0.02, 0.09, 0.07