php-general | 2004032

RE: [PHP] Help w/Bug From: Chris W. Parker (cparker <email protected>)
Date: 03/31/04

Joey <mailto:Joey <email protected>>
    on Wednesday, March 31, 2004 2:54 PM said:

> Step1: upload_file_type:
> Step1: upload_file: C:\\Documents and
> Settings\\jack.IISG\\Desktop\\BVP.jpg Step1: extention:
>
> Step2: upload_file_type:
> Step2: upload_file: C:\\Documents and
> Settings\\jack.IISG\\Desktop\\BVP.jpg Step2: extention: image/pjpeg

in both cases $upload_file_type is empty. you're comparing
$upload_file_type to $file_type1,2,3,4. of course there won't be a
match.

at least, that's what it looks like to me at a cursory glance.

hth,
chris.

p.s. extention != extension

:)

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