Re: File uploading

2003-07-18 Thread Octavian Rasnita
oading, it tells the visitor that the file is too big. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] - Original Message - From: "fliptop" <[EMAIL PROTECTED]> To: "Mike Harrison" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>

Re: File uploading

2003-07-18 Thread fliptop
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

Re: File uploading

2003-07-18 Thread Mike
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

Re: File uploading

2003-07-18 Thread fliptop
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

Re: File uploading

2003-07-18 Thread awarsd
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]

Re: file uploading

2002-06-13 Thread Ovid
--- "Greg D." <[EMAIL PROTECTED]> wrote: > Hello, > > I was wondering if anyone knew the best way to upload a file and then > populate the text area with the text file you just selected. Is there any > way to do that with perl and cgi instead of having to use javascript? > Or if that i