code> if ($_FILES['imagefile']['type'] != "image/pjpeg")
>The 'type' in $_FILES is provided by the browser. IIRC only IE uses >"image/pjpeg" whilst other browsers use "image/jpeg". But regardless of what >the browser sets, it is more reliable to get the image type from >getimagesize(). If im going to use this and if the user did not use an ie browser, hm it will mess up things. Based on what i just read, it will not work on all. But thanks for the suggestion. pathinfo() hmm, will check it out. i think now i can more filter the results. -- - Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php