Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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 exploiting the Monastery: (6)
As of 2016-10-26 00:18 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.