Re: php file uploads and type 'image/pjpeg' ???

From: Date: Mon, 13 May 2002 14:48:17 +0000
Subject: Re: php file uploads and type 'image/pjpeg' ???
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-97361@lists.php.net to get a copy of this message
actually i looked up pjpeg turns out its an actual filetype in its own right haha pjpeg uses progressive encoding as opposed to normal jpeg or something whats weirder is everyfile i've tried on my computer appears to be pjpeg encoded "Jochem" <j.veenhuijsen@nu-air.com> wrote in message news:20020513144603.28346.qmail@pb1.pair.com... > I guess you could check the $userfile_type for the correct type. > > > "John Ngo" <jngo@bigpond.net.au> schreef in bericht > news:20020513142839.4367.qmail@pb1.pair.com... > > basically i've got a file upload script (that works) > > > > what i want to do now is restrict it to filetypes of 'image/jpeg' > > however now i can't upload jpegs cause their filetype appears to be > > 'image/pjpeg' > > > > does anyone know of what could be happening here? > > > > > > > >

« previous php.general (#97361) next »