473,406 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Does PHP impose upload size limits?

If so, why?

My webhoster, dreamhost, just informed me that my php apps can not
upload files over 7mb, because of a PHP limitation.

I don't know a lot about it, but I thought those limits were imposed
by the web-hoster, not the language.

I also thought those limits could be overwriten by editing the php.ini
or .htaccess files.

Apr 16 '07 #1
1 1476
walterbyrd wrote:
If so, why?

My webhoster, dreamhost, just informed me that my php apps can not
upload files over 7mb, because of a PHP limitation.

I don't know a lot about it, but I thought those limits were imposed
by the web-hoster, not the language.

I also thought those limits could be overwriten by editing the php.ini
or .htaccess files.
PHP can set a limit, which can be changed in the php.ini file. IIRC,
the webserver can also impose a limit.

But there is no inherent limitation in PHP to 7M or any other size.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Apr 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Roger | last post by:
Hi, Anyone know why an upload would just give up? I'm running an upload page that seems to stop processing after 2 minutes
1
by: Vicky | last post by:
i have specified 10000 kbytes iin maxrequestlength , now if a file having size more than the limit is selected and upload button is pressed then page not found error comes. How to check file size...
8
by: Uncle Ben | last post by:
I'm looking for an ASP.NET solution which will allow my website to receive huge files in the size of 4GB and up. This solution needs to be integrated with a front-end. Users will have to...
2
by: Joseph Geretz | last post by:
I'm developing a Web Service using DIME to download and upload files from and to an IIS server. In order to increase the download filesize to unlimited, I have the following block in my App.config...
6
by: Andrew Virnuls | last post by:
Hello all! We run a service for children who are off school for medical reasons, and we had a web-site that allows them to "submit" their work to teachers for marking. The site uses ASP code to...
3
by: David | last post by:
I am using PHP Version 4.4.3 under Linux/Apachie to upload files. The PHP.ini upload_max_filesize is 2M, which I need to override this in the HTML (see below). I changed the MAX_FILE_SIZE to...
1
by: Redapple | last post by:
Hello everybody, Im a beginner in PHP and i'm thinking how i can make more things on my own made upload script: Sorry if this is the wrong forum or if its not allowed to ask for script...
7
by: weg22 | last post by:
Hi all, I need to impose maximum and minimum numerical limits on a textbox. I'd prefer not to code these in (since I have many textboxes and the limits on each are different) and was wondering...
16
by: Lawrence Krubner | last post by:
To guard against our users possibly uploading huge files, I've got this in my php.ini file: ; Maximum size of POST data that PHP will accept. post_max_size = 10M On a server running Ubuntu...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.