Hello!
I have one problem:
I execute the Embperl from FastCGI:
HTML::Embperl::XS_Init (1, $ENV{EMBPERL_LOG}, 1);
my $rc = HTML::Embperl::Execute ({ inputfile => $file, fdat=>$ref_fdat,
ffld=>$ref_ffld, mtime=>1, options=>(HTML::Embperl::optDisableFormData +
32)});
This code is working fine from shell command (it outputs HTTP headers & HTML
entity to stdout) but from FastCGI script all stdout output is not printed!
(apache logs a "incomplete headers"). May be problem is from dupping STDOUT
descriptor ?
But If i call:
HTML::Embperl::XS_Init (1, $ENV{EMBPERL_LOG}, 1);
my $output;
my $rc = HTML::Embperl::Execute ({ inputfile => $file, fdat=>$ref_fdat,
ffld=>$ref_ffld, mtime=>1, output=>\$output,
options=>(HTML::Embperl::optDisableFormData + 32)});
print $output;
then it works Ok
Please help me a solution of this problem.
Sorry for my bad English ;-)
---
Best regards, Aleksey Zvyagin, [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]