Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi Monks,
I'm attempting to call a .cgi script from another one of my scripts and for some reason it is only recognising the first var I pass to it. i.e. and some_script.cgi is only seeing the results from var blah Anyone got any ideas? Cheers, Reagen Update: I've done a bit more investigating and it appears that the script being called from the original script is using the var's from that original script. i.e. some_script.cgi?blah=foo&larh=bar will pass the vars blah and larh onto the script that some_script.cgi calls... make sense? I havent been able to work out how to prevent that and specify my own when I call the script. Anyone? Here's some code that explains more clearly than I: script1.cgi script2.cgi The only way I can get var1 and var2 to print is by calling script1.cgi?var1=one&var2=two even though I define that in script1 where I call script2. In reply to CGI from another script by rsiedl
|
|