sophie_newbie wrote: > Is there any way that I can pass cgi parameters to my script locally, > before i upload it to the webserver, so that i can debug it. > > Normally I would pass parameters like this: > > www.webserver.com/script.cgi?TERM1=hello&FIELD1=TTL&TERM2=goodby&FIELD2=GOVT > > The problem is that I get errors that do not show up when I run the > script locally and I do not have access to the error logs. > > So is there a way I can pass the form values TERM1, FIELD1 etc to the > script without having to upload it to the server?
You might think of using CGIHttpServer to test your scripts in a server-environment - while still being local. Regards, Diez -- http://mail.python.org/mailman/listinfo/python-list