|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
file upload, file corrupt and double in size?
I am having trouble with my php installation and file uploads. It's kind of a strange problem. When files are uploaded via a form in php they double in size and become corrupt. A text file smaller than about 2K will work, but past the text starts getting repeated spuratically throuought the file and causes the file doubles in size. The same happens with any file type that I've tried (.jpg, .txt, .pdf) and with several different php applications that I have downloaded. I have looked at the memory and max file size settings in php.ini and any .htaccess file and have experimented with many different settings and ratios. Changes in these settings do have any effect on where in the file the doubling problem starts and how large the doubled chucks are, but the doubling still happens. My test files are about 50K.
Any help is greatly appreciated. Thanks derek@gulbranson.net |
|
#2
|
|||
|
|||
|
RE: file upload, file corrupt and double in size?
Let me see some script. I believe your encoding is incorrect.
|
|
#3
|
|||
|
|||
|
RE: file upload, file corrupt and double in size?
I have got the same problem, somebody who has a resolution?
|
|
#4
|
|||
|
|||
|
RE: file upload, file corrupt and double in size?
I have same problem RedHat 8.0, Apache 2.0.40, PHP 4.2.2
Any ideas? Encoding problem ? My text files seem ok but don't take that as gospel. |
|
#5
|
|||
|
|||
|
RE: file upload, file corrupt and double in size?
it's an apache 2 bug.
http://bugs.php.net/bug.php?id=19263 |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > file upload, file corrupt and double in size? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|