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>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to