Re: Recomposed per instructions??? jpeg photo file upload problem
| From: | John T. Beresford | Date: | Thu, 17 Jul 2003 09:25:14 +0000 |
| Subject: | Re: Recomposed per instructions??? jpeg photo file upload problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155572@lists.php.net to get a copy of this message | ||
At 8:13 AM +0000 on 7/17/03, Curt Zirzow wrote:
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 -- =========================== John T. Beresford, Owner Digital Studio Design Edmond, OK http://www.digitalstudiodesign.com/ 405.760.0794The 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?