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

From: Date: Sun, 04 Mar 2001 00:17:01 +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-47879@lists.php.net to get a copy of this message
ID: 9418 Updated by: sniper Reported By: nekto@iname.com Old-Status: Open Status: Feedback Bug Type: *General Issues Assigned To: Comments: I can not reproduce this. Are you sure you're comparing the right images?? Are the uploaded images displayed at all? --Jani Previous Comments: --------------------------------------------------------------------------- [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); --------------------------------------------------------------------------- [2001-02-27 08:45:40] sniper@php.net And the example script is where? --Jani --------------------------------------------------------------------------- [2001-02-25 22:28:23] nekto@iname.com Hi! 1. yes, uploaded file exsit 2. filesize uploaded file equal filesize of original, but cmp say, what this files differ cmp file1.gif file2.gif file1.gif file2.gif differ: char 8, line 1 3. both file begin with string: GIF89 4. I open files in browser using http address: http://my.website.com/path/file.gif --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9418&edit=2

« previous php.dev (#47879) next »