I don't understand how it has been working till now! My IE6.0 and IE5.0 sends image/pjpeg for jpg files.

John T. Beresford wrote:

At 8:13 AM +0000 on 7/17/03, Curt Zirzow wrote:

The relevent PHP code from my system for the checking is:

 if ($type != "image/jpeg") {
 $ReturnSaying = "!! The file is not a JPEG picture. Please try again";
 include("photo_error.php");
 exit;


where is the variable $type comming from?


Hi Curt,

It's coming from the following:

$type = $_FILES['FormPhotoName']['type'];
$tmp_name = $_FILES['FormPhotoName']['tmp_name'];
$error = $_FILES['FormPhotoName']['error'];

Essentially, this system works, it just doesn't work at a particular location.

I am thinking that the location has a proxy set up that's messing with the http upload.

Thanks for any help,
John


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



Reply via email to