File Uplaod

This is a discussion on File Uplaod within the PHP General forums, part of the PHP Programming Forums category; I am trying to uplaod a 3 MB file to a server running apache and PHP. I seem to hitting ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-10-2004
Rick Laird
 
Posts: n/a
Default File Uplaod

I am trying to uplaod a 3 MB file to a server running apache and PHP. I
seem to hitting a 1.7 MB limit on the file size. I do not have
max_file_size set in my php.ini. I am using the Jakarta HTTPClient java
classes as the client.

Any help would be much appriciated.

Thanks

Rick Laird
Reply With Quote
  #2 (permalink)  
Old 01-11-2004
Jason Wong
 
Posts: n/a
Default Re: [PHP] File Uplaod

On Sunday 11 January 2004 04:30, Rick Laird wrote:
> I am trying to uplaod a 3 MB file to a server running apache and PHP. I
> seem to hitting a 1.7 MB limit on the file size. I do not have
> max_file_size set in my php.ini. I am using the Jakarta HTTPClient java
> classes as the client.


"upload_max_filesize" defaults to 2MB, so to upload something larger you
_need_ to set it. Also read the chapter on "Handling file uploads" to see
what other settings needs to be changed as well.

--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
When given a choice -- take both!
-- Anti- Murphy's Laws n2
*/
Reply With Quote
  #3 (permalink)  
Old 01-11-2004
Stuart
 
Posts: n/a
Default Re: [PHP] File Uplaod

Rick Laird wrote:
> I am trying to uplaod a 3 MB file to a server running apache and PHP. I
> seem to hitting a 1.7 MB limit on the file size. I do not have
> max_file_size set in my php.ini.


Not having upload_max_filesize set (which I assume is the setting you
are referring to) will cause PHP to use the default value of 2MB. Try
setting it and see what happens.

--
Stuart
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0