>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.

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

Reply via email to