Just a warning.
This method doesn't work right under Windows.
The file is fully uploaded, then it is tested if the max size of the file is
overdone. If the file size is 10 GB, the file is fully uploaded first,
then... doesn't matter ... but the program will work, and after it finish
uploading, it t
On Fri, 18 Jul 2003 at 23:46, Mike opined:
M:What if I now want to upload 2 files. The first can be up to 100k in size
M:and the second up to 80k in size? That is pretty much the way I have it set
M:up at the moment...
M:
M:Or should I admit defeat at this stage and allow 2 files to be uploaded
Thanks fliptop.
The $CGI::POST_MAX variable worked well.
What if I now want to upload 2 files. The first can be up to 100k in size
and the second up to 80k in size? That is pretty much the way I have it set
up at the moment...
Or should I admit defeat at this stage and allow 2 files to be uplo
On Fri, 18 Jul 2003 at 12:03, Mike Harrison opined:
MH:I have a perl program that allows a user to upload a file (either .jpg or
MH:.gif) to the server, and returns a message if it exceeds a specified size
MH:(in my case 100kB). Currently (and don't laugh - I am new to perl), I go
MH:through the
Hi
yse there is a way.
the flag -s
$size_file = (-s $fhandle)/1024;
$fhandle is the complete path C:\\..\***.extension
it will return in kilobyte 1Kn=1024bytes
Hope this helps
anthoyn
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]