You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Michael Stepanov <f....@news.francoudi.com> on 2003/07/17 17:17:37 UTC
Problems with setting EMBPERL_OPTIONS
Hi all,
My problem is, I need to set 0 in some input tag instead of
empty string as Embperl does it.
I found option $optAllFormData and tried to set it in the
http config file:
PerlModule Embperl
AddType text/html .epl
<Files *.epl>
EMBPERL_OPTIONS 1892
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
</files>
But when I try to see it value in the script I see 0:
optAllFormData is [+ $optAllFormData +]!
__DATA__
optAllFormData is 0!
My questions are:
1) How can I set EMBPERL_OPTIONS (in http.conf or .htaccess )?
2) How can I set more than one option using EMBPERL_OPTIONS?
Thanks in advanced.
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Problems with setting EMBPERL_OPTIONS
Posted by Gerald Richter <ri...@ecos.de>.
>
> EMBPERL_OPTIONS 8192
> EMBPERL_OPTIONS 16
> EMBPERL_OPTIONS 262144
>
write
EMBPERL_OPTIONS 270352
(8192 + 16 + 262144)
Gerald
P.S. Please keep the discussion on the list
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Problems with setting EMBPERL_OPTIONS
Posted by Gerald Richter <ri...@ecos.de>.
>
> EMBPERL_OPTIONS 1892
>
must be 8192
>
> My questions are:
>
> 1) How can I set EMBPERL_OPTIONS (in http.conf or .htaccess )?
see above
> 2) How can I set more than one option using EMBPERL_OPTIONS?
add the values together
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org