$_FILES['userfile']['error'] is always 0 ! Why ???

From: Date: Mon, 28 Oct 2002 18:53:03 +0000
Subject: $_FILES['userfile']['error'] is always 0 ! Why ???
Groups: php.general 
Request: Send a blank email to php-general+get-121826@lists.php.net to get a copy of this message
Hi, I'm doing HTTP file upload but I'm having a problem where "$_FILES ['userfile']['error']" is always 0. Even if I press the stop button or close the broser window where the upload is occuring it's always 0. This results in truncated files. Why ? What could be happening ? Is there any other way I can use to identify truncated files in uploads ? I'm so desperate that I've been looking at "content-length"... I'm running RH 7.3 with PHP 4.2.2. Thanks in advance, Jorge.

« previous php.general (#121826) next »