> > You can let Embperl return the error value to embpcgi.pl
(optReturnError).
> > Then you can call your custom error page at the end of embpcgi.pl. I
> didn't
> > tried it, but it should work.
>
> by doing an "Execute or die &errorhandler" ???  or how should i trap that
> error??
>
Take a look at embpcgi.pl. If you set optReturnError in EMBPERL_OPTIONS then
the return value in $rc will contain zero for succes and an error code for
all other cases. embpcgi.pl already outputs a small error document and you
may replace it by your own. Unfortunately you don't have access to the Perl
errors displayed by EMbperl. If you need them you must replace the call to
runcgi by a call to Execute and pass the correct path as inputfile. Execute
is able to return an array with all error messages.

Gerald



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

Reply via email to