Re: [PHP4BETA] Upload file error!
[email protected] (Andi Gutmans)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
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, [email protected] 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, > php mailto:[email protected] > > > >-- >PHP 4.0 Beta Mailing List <http://www.php.net/version4/> >To unsubscribe, e-mail: [email protected] >For additional commands, e-mail: [email protected] >To contact the list administrators, e-mail: [email protected] --- Andi Gutmans <[email protected]> http://www.zend.com/