Re: Recomposed per instructions??? jpeg photo file upload problem

From: Date: Thu, 17 Jul 2003 11:29:00 +0000
Subject: Re: Recomposed per instructions??? jpeg photo file upload problem
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-155582@lists.php.net to get a copy of this message
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


« previous php.general (#155582) next »