View Full Version : URL within CGI script?
rashi
04-10-2006, 08:32 AM
Hi,
How can I specify a url for another cgi script inside one cgi script? If a.cgi is executed,it should have a url iside it pointing ,say,b.cgi so that b.cgi is also executed.
Thanks,
Rashi.
chrisranjana
04-11-2006, 01:33 PM
Hi,
How can I specify a url for another cgi script inside one cgi script? If a.cgi is executed,it should have a url iside it pointing ,say,b.cgi so that b.cgi is also executed.
Thanks,
Rashi.
If you are meaning redirecting to another url using perl, yes it can be done
my $q = new CGI;
print $q->redirect("http://www.yahoo.com");
But if you are intending to run a perl script using another perl script, That can be done too, But permissions need to be taken into account.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.