Re: [PHP4BETA] Upload file error!

[email protected] (Stanislav Malyshev)
Newsgroups php.version4
Organization Zend Technologies Ltd (http://www.zend.com/)
Message-ID <[email protected]>
On Mon, 29 May 2000, Andi Gutmans wrote:

>>   I upload some files in my website.
>>   The scripts can be work good in php 4.0.0 Release version, But in
>>   CVS version It return this messages;
>>********************************************************************** 
>>
>>   Warning: Unable to write to '/home/uploader/temp/1.zip': Bad file
>> descriptor
>>   in /home/httpd/html/Upload.php3 on line 178

OK, there was a bug in PHP in virtual_creat implementation, that copy
function  uses. It should be fixed in current CVS. 

You can also try disable VIRTUAL_DIR in php.h if you feel that something
strange with file operations happens that didn't happen before, and if it
works (it should) then it's a bug in one of virtual_ functions.

-- 
Stanislav Malyshev   [email protected]          
+972-3-6139665
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.