J
Jerry Stuckle
Neredbojias said:Oh quit being such an asshole.
You should really learn what you're talking about. Idiot.
Nope, it explains your code is broken. NEVER rely on the type ofAnyway, _I_ don't know where in that labyrinth of a php manual you'll
find this (-if anywhere), but I'm tired of wasting my own time. This
line from the code of one of my old pages:
if (!($_FILES['filup']['type'] == "image/jpeg" ||
$_FILES['filup']['type'] == "image/pjpeg")) {
...rather explains it.
An image of an unknown type is uploaded. Determining the type
produces different matches on different platforms; "image/pjpeg" on
Windows and "image/jpeg" on non-Windows. This particular code-bit
came from a page receiving images posted by form. Whether it matters
elsewhere and otherwise, who knows. Have a nice day.
image indicated by the upload. Check it yourself. You will get the
same type on ALL platforms.
Not hardly. I _have_ checked it. Come back when you know what you're
talking about.
I do know what I'm talking about. A lot more than you, obviously. I
pity your customers.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
(e-mail address removed)
==================