Hello everybody.<br><br>I am calling an ssi-enabled html page and it has an<br>SSI request to a mod_perl script.<br><br>I am making a request to http://localhost/info.shtml?name=john&age=25&sex=m<br><br>Or something similar.<br><br>Now. How can I get the params passed to shtml from within mod_perl program ?<br><br>I tried the script bellow, but it only works when I call it directly and not when it's called from SSI.<br><br>I am using Apache/2.0.47 (Win32) mod_perl/1.99_12-dev Perl/v5.8.0 PHP/4.3.4 Server.<br><br>ssi and mod_perl is configured properly. I just can't get the params.<br><br>Thanks for your help.<br><br>my perl file is:<br><br>#!/usr/bin/perl<br><br>use strict;<br>use CGI;<br><br>my $cgi = new CGI;<br>my @params = $cgi->param();<br><br># Start http header<br>print "Content-type: text/plain\n\n";<br><br>print @params;<br><br><br>print $cgi->param('name');<br>
Igor, your HTML post is totally mangled. Please repost it in plain text. HTML posts aren't welcome here ;)
I've tried to ask you that in an off-list email, sparing the list unncessary traffic, but guess what, my reply to you has bounced :(
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html