At 3/18/02 09:15 PM, Gerald Richter wrote:


> I'm having a problem with a file upload when the "read" function is in an
> embperl fragment called by the "Execute" method.
>....
>
> When I process the main file, I get a zero-length "tmpfile.txt", because
> there is apparently nothing for the "read" function to read.
>

Which Embperl version do you are using? If I remeber right this is a bug in
older Embperl versions. 1.3.4 and 2.0b6 should work ok.

version 1.3b7, according to the log


A workaround is to
call the file which reads the data via



    [- Execute({inputfile => "frag1.epl", options =>
HTML::Embperl::optDisableFormData}); -]

But I want to be able to access %fdat values from inside frag1.epl. Wouldn't this prevent me from doing that?


=================================================
Michael Boudreau
Senior Electronic Publishing Developer
The University of Chicago Press
1427 E. 60th Street
Chicago, IL 60637-2954

phone: 773 753 3298
fax: 773 753 3383
=================================================

Reply via email to