Re: [PHP4BETA] Upload file error!
| From: | Andi Gutmans | Date: | Sun, 28 May 2000 03:56:52 +0000 |
| Subject: | Re: [PHP4BETA] Upload file error! | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15849@lists.php.net to get a copy of this message | ||
Can you please cut down your script to a very minimal reproducing script and mail it to us?
Thanks,
Andi
At 04:01 AM 5/28/00 -0700, php_list@citiz.net wrote:
Hello php4beta, 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 *************************************************************************** **** line 178 is: copy($NewsFile,$Homedir.$NewsFile_name); I had already set: $Homedir = "/home/uploader/temp/"; $NewsFile_name = "1.zip"; Please help me fix it. sorry for my english so poor! -- Best regards,--- Andi Gutmans <andi@zend.com> http://www.zend.com/php mailto:php_list@citiz.net-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net