Thats strange...when I was testing I couldn't get that to work at all even in a seperate script...going to test....
Aug 2, 2002, 5:54 AM
Veteran / Moderator (2199 posts)
Aug 2, 2002, 5:54 AM
Post #28 of 31
Views: 4435
Now that's strange, it works perfectly here....
Plus, your code, with the perl thing included also displays the user signup page.
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Plus, your code, with the perl thing included also displays the user signup page.
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Aug 2, 2002, 6:27 AM
Veteran / Moderator (2199 posts)
Aug 2, 2002, 6:27 AM
Post #30 of 31
Views: 4461
That also works for the global (I just tested it). You might have to store $ENV{QUERY_STRING} temporarily somewhere to avoid confusion. Plus the script should not send its headers (but that's the problem of the other cgi-script...).
my $env = $ENV{QUERY_STRING;
$ENV{QUERY_STRING} = 'do=user_signup'
print `perl /apache/cgi-bin/forum/gforum.cgi`;
$ENV{QUERY_STRING} = $env;
}
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Code:
sub { my $env = $ENV{QUERY_STRING;
$ENV{QUERY_STRING} = 'do=user_signup'
print `perl /apache/cgi-bin/forum/gforum.cgi`;
$ENV{QUERY_STRING} = $env;
}
Ivan
-----
Iyengar Yoga Resources / GT Plugins