[PHP] file uploads double in size - help!

2002-12-28 Thread dgulbranson
I am having trouble with php file uploads where the files are arriving
corrupted and information in the file is repeated.  Perhaps some can help
point me in the right direction.

A very small text file will work fine.  Anything larger than about 2000k and
strange things happen.  In the case of a text file, after about 1100
characters, the uploaded file will repeat the text starting not from the
begining of the file but from about midway through and do this back and
forth for the length of the file, causing the file to double in size.  The
same problem happens with every file type that I've tried, .jpg, .png, .doc,
.dwg.  It also happens with all php applications that run on the server, not
just one particular piece of software, so it has to be some configuration
with the server, but I don't know where to look.

It could be something really simple as I'm just getting started.  Anything
recomendations on things to check that might point me in the right direction
would be greatly appreciated.

Derek
please reply to [EMAIL PROTECTED]



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




Re: [PHP] file uploads double in size - help!

2002-12-28 Thread Michael J. Pawlowsky
This might help you...

http://www.phpbuilder.com/columns/florian19991014.php3?page=4




*** REPLY SEPARATOR  ***

On 28/12/2002 at 2:00 PM [EMAIL PROTECTED] wrote:

I am having trouble with php file uploads where the files are arriving
corrupted and information in the file is repeated.  Perhaps some can help
point me in the right direction.

A very small text file will work fine.  Anything larger than about 2000k
and
strange things happen.  In the case of a text file, after about 1100
characters, the uploaded file will repeat the text starting not from the
begining of the file but from about midway through and do this back and
forth for the length of the file, causing the file to double in size.  The
same problem happens with every file type that I've tried, .jpg, .png,
.doc,
.dwg.  It also happens with all php applications that run on the server,
not
just one particular piece of software, so it has to be some configuration
with the server, but I don't know where to look.

It could be something really simple as I'm just getting started.  Anything
recomendations on things to check that might point me in the right
direction
would be greatly appreciated.

Derek
please reply to [EMAIL PROTECTED]



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





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