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

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 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 = open("/var/www/stretch/web_root/SidCrops/"+C

Re: need some cgi help please

2005-06-08 Thread nephish
no takers? -- 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 fill

Re: cgi help

2005-06-01 Thread nephish
whoa, thanks been trying to figgure this out for a week. cant wait to try it this weekend. thanks again. -- http://mail.python.org/mailman/listinfo/python-list

Re: cgi help

2005-06-01 Thread Bruno Desthuilliers
nephish a écrit : > Hey there, > i am trying to write an online application using the cgi module. > what i want to do is have an html form display a drop-down list and > have the values of that list be the lines of text written in a file. Simplest, Q&D solution : 1/ open the file for reading 2/ pr

cgi help

2005-05-31 Thread nephish
Hey there, i am trying to write an online application using the cgi module. what i want to do is have an html form display a drop-down list and have the values of that list be the lines of text written in a file. this would be updated almost every time the site is visited. i have been sucessful in