> 
> I'm on Perl 5.8.7, Embperl 2.1.0, Mod_perl 2.0.2 on Apache 
> 2.0.55 on Solaris. 
> 
> I'm trying to Execute a cgi script from an epl page, but the 
> cgi script doesn't get executed (rather, it's read as a text 
> file.) Is there an option to make this possible?
> 
> 1) a.cgi submits data to b.epl
> 
> 2) b.epl has only the following lines.
> <h1>Reading files ... Please wait. </h1> [$ hidden $]
> [- Execute ("a.cgi") -] 
> 

The Execute will be handled in the same request, so your browser will only
see the result, when a.cgi has finished and that's not what you want to.

Instead you to to tell your browser to make a new request to a.cgi, so I
normaly use:

<h1>Reading files ... Please wait. </h1> 
<meta http-equiv="refresh" content="0:[+ $fullurl +]"> 

Note that $fullurl must include the a.cgi and all parameter you normaly
would pass with [$ hidden $] appended after a '?'

Gerald





 
** Virus checked by BB-5000 Mailfilter ** 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to