Hi,

> 
> Recently, I've found in Apache log file that message:
>     Warning in Perl code: readline() on closed filehandle
> fh00001C%3A\fts\receive\PBW036H3.023
> 
> It seems that file was uploaded 

I guess there was some thumb client (maybe a robot) which pass invalid data
to your form.

> but before reading procedure 
> was started file handler was closed by some reason. The 
> strange thing is the loop was run once and program was not 
> die in checking of length of row!
> 

No the loop was never run because the expression inside your while is not
defined and gives the warning above.

> So, does somebody know where Embperl stores uploaded files? 

It's managed by CGI.pm, which creates a temopary file and imediately deletes
it, so you will never see it.

> Why file handler was closed and how check is file handler is 
> open or not?
> 

There should be some Perl function to test this, maybe eof() works, but I am
not sure

Gerald


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

Reply via email to