Re: [PHP4BETA] Upload file error!

From: Date: Mon, 29 May 2000 11:51:51 +0000
Subject: Re: [PHP4BETA] Upload file error!
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-15890@lists.php.net to get a copy of this message
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 stas@zend.com +972-3-6139665

« previous php.version4 (#15890) next »