Re: Nope it didn't work :(

From: Date: Mon, 29 Jul 2002 10:11:12 +0000
Subject: Re: Nope it didn't work :(
Groups: php.general 
Request: Send a blank email to php-general+get-110147@lists.php.net to get a copy of this message
>I've been trying a few things that should actually work and for some strange >reason they aren't. It's a strange one indeed. jpg is not a MIME type though >(just thought I'd let you know that) but nevertheless it should work, but >for some weird reason it isn't. >I'll keep plugging away at it till I figure it out. Already answered the original, but thought I'd add: The $_FILE['filename']['type'] is just set to whatever the browser *CLAIMS* the file's type is. So, (A) every damn browser sets it differently and (B) a real hacker can make it be any damn thing they want and it can't be trusted anyway. $_FILE['filename']['type'] is therefore essentially USELESS and might as well be ripped out. :-) -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk.

« previous php.general (#110147) next »