> I guess it doesn't let me Execute the file at all.
> suppose foo.epl required that empty form fields exist in %fdat. for the
> following files:
>
> .htaccess:
> <Files foo.epl>
> PerlSetEnv EMBPERL_OPTIONS 8192
> </Files>
>
> bar.epl:
> Execute('foo.epl');
>
> of course foo.epl wouldn't have access to empty fields, since the POST
data
> has already been processed. To solve this I would have to put bar.epl (and
> every other file that calls foo.epl) in .htaccess, which would be a
problem
> if for some reason one of them had a line like 'if( exists $fdat{empty})'.
>

Yes

> However, this seems like a fairly unusual circumstance, and a fairly
> difficult fix, so it's probably not worth pursuing.
>
> Alternatively, as a coding practice, would the line 'if( defined
> $fdat{empty})' have the same problem? If empty fields are undef, then that
> would differentiate between an input of zero and no input just fine.
>

I would suggest

if ($fdat{empty} eq '')

Gerald


> --Jack
>
> -----Original Message-----
> From: Gerald Richter [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, July 14, 2001 8:02 AM
> To: Jack Cushman; [EMAIL PROTECTED]
> Subject: Re: optAllFormData
>
>
> Jack,
> >
> > Of course it still doesn't let me Execute foo.epl from another
> directory --
> > that would require embperl to store and reprocess the POST data.
> >
>
> I don't understand what you mean by that. Can you give an example ?
>
> Gerald
>
>
>
> -------------------------------------------------------------
> Gerald Richter    ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
>
> Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
> E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
> WWW:        http://www.ecos.de      Fax:      +49 6133 925152
> -------------------------------------------------------------
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




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

Reply via email to