PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old December 20th, 2003, 05:31 PM
phpnewbie phpnewbie is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Netherlands
Posts: 8 phpnewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PHP upload: Document contains no data

Hi all,
I was very happy with the document on how to create a multiple file-upload, and it works.
But: when a file is larger than 523670 bytes and try to upload, I get a popup from netscape telling me that the document contains no data.
This merely implies that no data was passed from my uploadForm2.php script to the processFiles.php script !!! WHY ??

In my php.ini, my upload_max_filesize is 20MB, post_max_size = 8M

Best guess from my side, that this isn't php related, but I have no cleu whatsoever what would be the cause of this.
Haven't found anything in apache config yet.

Reply With Quote
  #2  
Old December 20th, 2003, 05:33 PM
phpnewbie phpnewbie is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Netherlands
Posts: 8 phpnewbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
SHOOT, I just found it. In /etc/http/conf.d, there is a file called php.conf there is an entry :
#
# Cause the PHP interpreter handle files with a .php extension.
#
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 524288
</Files>
I changed that, and all goes fine now.

Reply With Quote
  #3  
Old February 10th, 2004, 10:22 PM
xobes xobes is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 1 xobes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks!

Thanks for the tip, it saved me a lot of trouble!

- AZ

Reply With Quote
  #4  
Old March 4th, 2004, 02:50 PM
kevindolan kevindolan is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 kevindolan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I would very much like to read that doc...

"I was very happy with the document on how to create a multiple file-upload, and it works."

Do you/anybody happen to have a link to this document or something similar?

I am completely new to PHP. I am going to attempt to setup my site so that anyone with an (.htaccess) account can upload files to the site. I want to have links to these files automatically generated and available immediately.

I assume PHP/MySQL are the tools to use but I am completely a newbie when it comes to this stuff. If anyone has any insight relating to this little endeavor that they could share, it would be greatly appreciated.

Thanks

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > PHP upload: Document contains no data


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 3 hosted by Hostway