SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old December 30th, 2002, 10:28 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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

Reply With Quote
  #2  
Old January 3rd, 2003, 12:30 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: file upload, file corrupt and double in size?

Let me see some script. I believe your encoding is incorrect.

Reply With Quote
  #3  
Old January 5th, 2003, 11:26 PM
cr0wn cr0wn is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 cr0wn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: file upload, file corrupt and double in size?

I have got the same problem, somebody who has a resolution?

Reply With Quote
  #4  
Old February 20th, 2003, 07:03 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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.

Reply With Quote
  #5  
Old February 20th, 2003, 07:17 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: file upload, file corrupt and double in size?

it's an apache 2 bug.

http://bugs.php.net/bug.php?id=19263

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > file upload, file corrupt and double in size?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway