RE: [PHP] getting corrupt files after upload in php/apache

2003-08-19 Thread Jay Blanchard
[snip]
since it works with other files I think that it's some configuration
somewhere that is wrong,
[/snip]


What is your max file size allowed for uploads?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] getting corrupt files after upload in php/apache

2003-08-19 Thread Peter Berglund
since it works with other files I think that it's some configuration
somewhere that is wrong,

this is the form head:
 

and the copycode:
copy($_FILES['img1']['tmp_name'], "$ufolder".$_FILES['img1']['name'])

"Jay Blanchard" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
[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?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] getting corrupt files after upload in php/apache

2003-08-19 Thread Jay Blanchard
[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? 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] getting corrupt files after upload in php/apache

2003-08-19 Thread Peter Berglund
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 ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php