Re: need some cgi help please

2005-06-08 Thread nephish
no takers? -- http://mail.python.org/mailman/listinfo/python-list

Re: need some cgi help please

2005-06-08 Thread Douglas Soares de Andrade
Hi ! Im a python begginer, but... form = cgi.FieldStorage() DataRecord = form['DataTime'].value Customer = form['CustName'].value # should be automatically filled in Can you try this ? print Content-Type: text/html\n\n print WorkingFile =

Re: need some cgi help please

2005-06-08 Thread Greg Ewing
[EMAIL PROTECTED] wrote: IOError: [Errno 2] No such file or directory: '/var/www/stretch/web_root/SidCrops/tenderloin/Tue Jun 7 20:13:35 2005.txt' args = (2, 'No such file or directory') The web server isn't running in a chrooted environment or anything, is it? Are there any other

Re: need some cgi help please

2005-06-08 Thread nephish
i fixed it. the program was going nuts because there were spaces in the name of the file. go figgure. anyway, i changed the way i format the timestamp that becomes the file name and removed the spaces. working all better now. thanks -- http://mail.python.org/mailman/listinfo/python-list

need some cgi help please

2005-06-07 Thread nephish
Hey there. Here is the deal i have a script that is supposed to open a file based on criteria from a web form. i cant seem to get it to work though. here is the code: form = cgi.FieldStorage() DataRecord = form['DataTime'].value Customer = form['CustName'].value # should be automatically