I want to let people upload files onto my server, but I want the system to check to make sure the file is one of the correct file types(.gif, Jpeg, Bmp) I allow; then to make sure the file is not to big.
I would like the system to check for all this on the same page, can someone help me with this?
You can see the code below of what I'm using now, but this is done on my post page not the form page?
set logos = '#Clientfile#'
where id= #customer.ID#
<cfif cffile.filesize gt 2000>
message="File is to big; your file must be smaller than 2.0mb.">