Is There a CGI Expert In the House?? Good Grief!!

Doug Fort dougfort at downright.com
Tue May 1 18:30:19 EDT 2001


Ben Ocean wrote:

> Hi;
> I have been trying DESPERATELY to get the answer to this question. I was 
> under the impression that Python was an ideal language for CGI 
> scripting. Now, would SOMEONE PLEASE answer this question:
> 
> Scenario:
> My client, BladeChevy.com, frames around Kelley Blue Book (KBB.com). The 
> visitor fills out a form on KBB.com's page and submits it. The info is 
> sent back to BladeChevy.com to a page I specify (in the cgi-bin 
> directory). The data is sent back via the *data buffer*
> 
> Question:
> What the &*()$)*_% is a data buffer and how the &*(&*% do I get the data 
> out of it?
> TIA,
> BenO

I have attached our CGI handler, it may be of some use to you.  The key 
is the call to cgi.FieldStorage().  This is covered pretty well in the 
new 2nd edition of Mark Lutz's 'Programming Python' (O'Reilly)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wn_cgihandler.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20010501/790d1d4c/attachment.ksh>


More information about the Python-list mailing list