perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Embperl & CGI
Date Fri, 22 Apr 2005 14:18:42 GMT
> 
> Another question: can I call an ordinary CGI script from 
> within an embperl page, and send it the parameters it needs? 
> Of course, I can 'require' it from within [- -] tags, but 
> then the CGI parameters won't work right.
> 

If you use Apache 2, you can include a the CGI as subrequest by issueing
something like the following:

Execute ({subreq => '/cgi-bin/script.cgi?parm=1&parm2=2'}) ;


Gerald




---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message