This looks good but I just have one question about it if you don't mind,
what if someone was uploading a gif or a PNG file? can it be made to only
detect jpgs?
Thanks in advance
Deadsam
> Try it this way, it will check if it is a jpeg and it has a horizontal
> and vertical size so you can be pret
Hi,
Tuesday, July 30, 2002, 3:52:23 AM, you wrote:
D> maybe it would be easier to show you the part of code I'm using,
D> }
D> /** Check for the type of the image : only allow jpeg's */
D> if($_FILES['uploadFile']['name']['type']!="image/jpeg"){
D> echo "You can only upload jpg images.";
D>
2 matches
Mail list logo