Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
General
:
Perl Programming
:
run cgi script from other cgi script
Previous Thread
Next Thread
Print Thread
View Flat
Jul 2, 2002, 3:53 AM
appMaster
Novice
(5 posts)
Jul 2, 2002, 3:53 AM
Post #1 of 10
Views: 7754
Shortcut
run cgi script from other cgi script
Can anyone recommend how to run cgi script from other cgi script
without "require" .
thanks
Jul 2, 2002, 4:47 AM
Paul
Veteran
(19537 posts)
Jul 2, 2002, 4:47 AM
Post #2 of 10
Views: 7579
Shortcut
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
Jul 2, 2002, 5:19 AM
appMaster
Novice
(5 posts)
Jul 2, 2002, 5:19 AM
Post #3 of 10
Views: 7607
Shortcut
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.
Jul 2, 2002, 6:08 AM
Paul
Veteran
(19537 posts)
Jul 2, 2002, 6:08 AM
Post #4 of 10
Views: 7611
Shortcut
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?
Jul 2, 2002, 6:13 AM
appMaster
Novice
(5 posts)
Jul 2, 2002, 6:13 AM
Post #5 of 10
Views: 7594
Shortcut
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 .
Jul 2, 2002, 6:44 AM
Andy
Veteran
/ Moderator
(18441 posts)
Jul 2, 2002, 6:44 AM
Post #6 of 10
Views: 7632
Shortcut
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!
Jul 2, 2002, 6:45 AM
Wil
Veteran
/ Moderator
(4108 posts)
Jul 2, 2002, 6:45 AM
Post #7 of 10
Views: 7584
Shortcut
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
Jul 2, 2002, 11:16 AM
oldmoney
User
(431 posts)
Jul 2, 2002, 11:16 AM
Post #8 of 10
Views: 7560
Shortcut
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?
Jul 2, 2002, 11:31 AM
Paul
Veteran
(19537 posts)
Jul 2, 2002, 11:31 AM
Post #9 of 10
Views: 7579
Shortcut
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//
Jul 2, 2002, 12:11 PM
appMaster
Novice
(5 posts)
Jul 2, 2002, 12:11 PM
Post #10 of 10
Views: 7525
Shortcut
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 .
Previous Thread
Next Thread
Print Thread
View Flat