Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Passing data from script to script.

by dorward (Curate)
on Dec 13, 2006 at 15:42 UTC ( #589596=note: print w/ replies, xml ) Need Help??

in reply to Passing data from script to script.

<font size="4" color="#FF0000">Enter data here.</font>

FYI, modern HTML uses label and style sheets.

How on earth can I pass $wanted to the second script open.cgi

There are a number of options. For that example, I'd likely use URI to build a URL with the data in the query string and redirect to that.

Comment on Re: Passing data from script to script.
Replies are listed 'Best First'.
Re^2: Passing data from script to script.
by jettero (Monsignor) on Dec 13, 2006 at 15:54 UTC
    This is correct. But, if you want to pass a lot of things between CGIs, you'll probably be better off passing a session identifier between scripts and storing the values in a database.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://589596]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2015-12-02 05:15 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (34 votes), past polls