Passing variables between scripts

Aahz Maruch aahz at netcom.com
Mon Jun 26 10:23:01 EDT 2000


In article <8j745m$qqj$1 at oslo-nntp.eunet.no>,
Olav Viken <ovi at autornica.no> wrote:
>
>Can anyone tell me if there is a good way to pass a variable between
>two CGI scripts?

Depends what you're doing.  If the two scripts run in sequence, the
first script should print out a form that submits to the second script,
with the form containing all the necessary data for the second script.
Note that your second script should probably do data validation, because
some screwy user might muck with the form.
--
                      --- Aahz (Copyright 2000 by aahz at netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

The best way to get information on Usenet is not to ask a question,
but to post the wrong information.  --Aahz



More information about the Python-list mailing list