Re: getting corrupt files after upload in php/apache

From: Date: Tue, 19 Aug 2003 17:21:52 +0000
Subject: Re: getting corrupt files after upload in php/apache
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160031@lists.php.net to get a copy of this message
since it works with other files I think that it's some configuration somewhere that is wrong, this is the form head: <FORM ENCTYPE="multipart/form-data" name='spara' method='post' action='filadmin.php'> and the copycode: copy($_FILES['img1']['tmp_name'], "$ufolder".$_FILES['img1']['name']) "Jay Blanchard" <jay.blanchard@niicommunications.com> skrev i meddelandet news:C8F323573C030A448F3E5A2B6FE2070B02A1BD@nemesis... [snip] I'm getting corrupt files after I've used my upload-script. For images it works good but when I upload an wav-file , 222KB, the file gets corrupt and I can't play it. Whats the problem ? [/snip] ....agh.... Uh, your code? Your server?

« previous php.general (#160031) next »