PHP 4.0 Bug #9418 Updated: Upload image file is broken

From: Date: Tue, 27 Mar 2001 09:49:17 +0000
Subject: PHP 4.0 Bug #9418 Updated: Upload image file is broken
Groups: php.dev 
Request: Send a blank email to php-dev+get-50032@lists.php.net to get a copy of this message
ID: 9418 User Update by: nekto@iname.com Status: Open Bug Type: *General Issues Description: Upload image file is broken Hi! I trying snapshot from 22-Mar-2001 - but this not help me. May be in new stable release problem with images will be solved? Previous Comments: --------------------------------------------------------------------------- [2001-03-04 22:40:43] nekto@iname.com I make this experiment: 1) upload image via php. Uploaded image not visible. 2) upload image via ftp (binary) mode. This image is normal visible. After that i compare both image with cmp command. Cmp say, what images different. I can send you my image for probe. May be i must try download cvs from snaps.php.net (early i download it from cvs.php.net). May be cvs snapshot on this sites different? --------------------------------------------------------------------------- [2001-03-03 19:17:01] sniper@php.net I can not reproduce this. Are you sure you're comparing the right images?? Are the uploaded images displayed at all? --Jani --------------------------------------------------------------------------- [2001-03-01 21:43:22] nekto@iname.com Yes, 23 feb i download cvs snapshot from cvs.php.net make make install but this not help me :(... --------------------------------------------------------------------------- [2001-03-01 17:14:20] sniper@php.net And you're using the latest CVS snapshot from http://snaps.php.net/ ? --Jani --------------------------------------------------------------------------- [2001-02-27 21:41:57] nekto@iname.com Ok, this fragment of my script: <form enctype="multipart/form-data" method="post" action="<? $PHP_SELF ?>?action=add"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <..... skip .....> <tr> <td width="29%" height="30"><? print $lang["photo"]?></td> <td width="71%" height="30"> <input type="file" name="photo" size="50" maxlength="255"> </td> </tr> <......skip.......> </table> <p> <input type="reset" name="Reset" value="<? print $lang["reset"]?>"> <input type="submit" name="Submit" value="<? print $lang["save"]?>"> </p> </form> <......skip.......> copy ($photo, $photopath.$id); unlink($photo); --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=9418

« previous php.dev (#50032) next »