chaskins has asked for the wisdom of the Perl Monks concerning the following question:
Good evening brothers. I'm writing a cgi script in perl that calls other web pages. Theses web pages are infact php scripts that need to take parameters in order to display the correct information. Currently my script work fine when I don't have to pass any parameters and the pages are shown as expected. But when I try to pass some needed parameters these just get ignore, i.e. via a url http://www.asite.com/result.php?mode=n&color=blue&age=18
What I am trying is;
The way I call this via my broswer is;$content = get("http://www.asite.com/result.php?mode=n&color=blue&age= +18") print "$content";
http://www.mysite.com/cgi-bin/my_perl.cgi?url=http://www.asite.com/res +ult.php?mode=n&color=blue&age=18
Which seems to call the 'result.php' script but does not pass any parameters to it.
Any ideas why?
Am I using the right code?
Chris
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Passing params to a php file via perl cgi script.
by dmmiller2k (Chaplain) on Jan 20, 2002 at 02:12 UTC | |
by jeffa (Bishop) on Jan 20, 2002 at 03:49 UTC | |
by dmmiller2k (Chaplain) on Jan 20, 2002 at 05:42 UTC | |
Re: Passing params to a php file via perl cgi script.
by trs80 (Priest) on Jan 20, 2002 at 03:18 UTC | |
Re: Passing params to a php file via perl cgi script.
by Marcello (Hermit) on Jan 20, 2002 at 02:17 UTC | |
by dmmiller2k (Chaplain) on Jan 20, 2002 at 05:53 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Back to
Seekers of Perl Wisdom