Gossamer Forum
Home : General : Perl Programming :

run cgi script from other cgi script

Quote Reply
run cgi script from other cgi script
Can anyone recommend how to run cgi script from other cgi script

without "require" .



thanks
Quote Reply
Re: [appMaster] run cgi script from other cgi script In reply to
"run" meaning?...what code are you trying to run?

There are a few different methods but why not require?

Last edited by:

Paul: Jul 2, 2002, 4:47 AM
Quote Reply
Re: [Paul] run cgi script from other cgi script In reply to
my code : #!/usr/bin/perl
require "/home/virtual/site10/fst/var/www/cgi-bin/sasha/data/rerank.cgi";


require "/home/virtual/site10/fst/var/www/cgi-bin/mj1972/data/rerank.cgi";



require "/home/virtual/site10/fst/var/www/cgi-bin/parispg/data/rerank.cgi";


require "/home/virtual/site10/fst/var/www/cgi-bin/danko/data/rerank.cgi";

I need change require with something else.
Quote Reply
Re: [appMaster] run cgi script from other cgi script In reply to
What is in rerank.cgi?

...and why don't you want to require?
Quote Reply
Re: [Paul] run cgi script from other cgi script In reply to
rerank is toplist rerank script

runing from cronjob .

I have lose my information
when I using require .
Quote Reply
Re: [appMaster] run cgi script from other cgi script In reply to
`perl /path/top/script/rerank.cgi`;

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] run cgi script from other cgi script In reply to
Ugh!!! No!

Require it or use it but pass your variables to it.

- wil

Last edited by:

Wil: Jul 2, 2002, 6:45 AM
Quote Reply
Re: [Wil] run cgi script from other cgi script In reply to
Are you just trying to run them all at once, or are you actually doing something with the output?

If the former, why not create a framed page pointing to each instance of the script?
Quote Reply
Re: [oldmoney] run cgi script from other cgi script In reply to
If its not a huge amount of code you could either use an anonymous subroutine or qx//
Quote Reply
Re: [oldmoney] run cgi script from other cgi script In reply to
Quote:
Are you just trying to run them all at once, or are you actually doing something with the output?

If the former, why not create a framed page pointing to each instance of the script?



yes I'm run all at once .

I can't create a framed page

script runing from cronjob .