Passing cgi parameters to script...

sophie_newbie paulgeeleher at gmail.com
Thu Dec 29 11:14:38 EST 2005


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?




More information about the Python-list mailing list