Bug #11116 Updated: File upload sometimes work, sometimes fails

From: Date: Thu, 07 Mar 2002 16:30:52 +0000
Subject: Bug #11116 Updated: File upload sometimes work, sometimes fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1930@lists.php.net to get a copy of this message
ID: 11116 Updated by: Juric@netmail.lv Reported By: hysteric@skynet.be Status: Closed Bug Type: HTTP related Operating System: win NT 4 PHP Version: 4.0.5 New Comment: I have got the same problem... I'm using php4.1.0 as a module of apache... with file size all it is OK, but sometimes upload fails, sometimes do not... more often fails than not... Previous Comments: ------------------------------------------------------------------------ [2001-11-18 10:05:28] sander@php.net No feedback. Closing. ------------------------------------------------------------------------ [2001-10-28 16:44:43] sniper@php.net You're setting the maximum filesize to be 4096 bytes. That might be the reason for the uploads to fail? Not many normal files are that small. --Jani ------------------------------------------------------------------------ [2001-06-01 04:33:14] hysteric@skynet.be It seems that binary files always fail and others sometimes fail. I thought it could be wise to add the submit form I use. <form ENCTYPE="multipart/form-data" action="<? $PHP_SELF ?>" method="post"> <input type="hidden" name="typePub" value="file"> <input type="hidden" name="MAX_FILE_SIZE" value="4096"> <input type="file" name="leFichier"> ... </form> ------------------------------------------------------------------------ [2001-05-31 22:53:09] sniper@php.net Is there any pattern of files you can't upload? like, are they always binary files that fail? --Jani ------------------------------------------------------------------------ [2001-05-29 03:26:55] hysteric@skynet.be Tried php 4.0.5 => same problem. I can *sometimes* upload files, *sometimes* i can't!? ------------------------------------------------------------------------ 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/11116 -- Edit this bug report at http://bugs.php.net/?id=11116&edit=1

« previous php.bugs (#1930) next »