PHP question RH Linux ---a bit ot---

Erik Price erikprice at mac.com
Thu Nov 6 19:24:13 EST 2003


 
On Thursday, November 06, 2003, at 03:10PM, Greg Rundlett <greg at freephile.com> wrote:


>Anyway, you don't even need to know where the temp location is.  You 
>should use the $_FILES super global to access and manipulate the 
>uploaded file.

Greg's right.

> Also, you can set the MAX_FILE_SIZE in a hidden form 
>field to tell PHP what limit to accept...

Of course, be careful not to rely on this for any kind of security, since it's easy for a user to send whatever value they wish for the MAX_FILE_SIZE parameter.



Erik



More information about the gnhlug-discuss mailing list