ID:               31726
 User updated by:  skyfox at isp dot ee
 Reported By:      skyfox at isp dot ee
 Status:           Bogus
 Bug Type:         *Graphics related
 Operating System: Debian
 PHP Version:      4.3.10
 New Comment:

then verify broken upload photo not work!

this is from my code:
  if ($_FILES["photo"]["error"]==UPLOAD_ERR_NO_FILE)
{return($lns[49]);}
  if ($_FILES["photo"]["error"]==UPLOAD_ERR_PARTIAL)
{return($lns[50]);}
  if (($_FILES["photo"]["error"]==UPLOAD_ERR_INI_SIZE)
     ||($_FILES["photo"]["error"]==UPLOAD_ERR_FORM_SIZE))
{return($lns[51]);}
  if
($_FILES["photo"]["error"]<>UPLOAD_ERR_OK){return('Error:'.$_FILES["photo"]["error"]);}


Previous Comments:
------------------------------------------------------------------------

[2005-02-01 09:28:10] [EMAIL PROTECTED]

We do not want to support broken images. Even if a broken IE can load
them, accepting invalid images/data as valid data is the best to run in
troubles.

--Pierre

------------------------------------------------------------------------

[2005-01-31 16:37:07] skyfox at isp dot ee

Derick - try it by IE ;) no errors

------------------------------------------------------------------------

[2005-01-31 11:25:48] [EMAIL PROTECTED]

When opening it in GIMP I get the following error:

Corrupt JPEG data: 145 extraneous bytes before marked 0xd9

EXIF data will be ignored.

------------------------------------------------------------------------

[2005-01-31 11:19:22] skyfox at isp dot ee

http://www.amur.ee/~deni/60672
this is not BROKEN PHOTO!

------------------------------------------------------------------------

[2005-01-28 21:49:12] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Have you tried to look at these images yourself?
60125 is definitely broken as even my viewer refuses to show it up
correctly - only a half of the image is viewable.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/31726

-- 
Edit this bug report at http://bugs.php.net/?id=31726&edit=1

Reply via email to