Re: image uploads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Do you really want people uploading 2.5MB a shot to your server?"

No. Not really. It's just modern digicams... Most people don't know how to 
edit pics or doesn't have right tools for that. And they don't realize the 
difference between 2.5Mb or 0.5Mb just as long there are atleast 5Megapixels 
in the camera :(



""Albert"" <albert@xxxxxxxxxxxx> kirjoitti 
viestissä:010c01c626fd$fd2aa690$0464a8c0@xxxxxxxxx
> William Stokes wrote:
>> I somehow got it back working with Opera. Don't know how :) One question
>> still remains. How to make 100% sure that the image isn't re-loaded to
>> server if user hits "refresh"? And he will cause it can take long time to
>> upload 2.5Mb pics over a slow link.
>
> When you hit refresh/reload in the browser then the browser send the data 
> to
> the server again. No way around this. You can make sure that you do 
> nothing
> with the data received by follow the uniqid() method described earlier.
>
> Do you really want people uploading 2.5MB a shot to your server? Why not
> limit it to 512KB?
>
> Albert
>
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 267.14.25/247 - Release Date: 
> 2006/01/31
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux