Click here to get back home

filesize

 HomeNewsGroups | Search | About
 comp.lang.php    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
filesize Tree*Rat 07-19-2008
---> Re: filesize Paul Lautman07-19-2008
  `--> Re: filesize The Natural Phi...07-19-2008
Posted by Tree*Rat on July 19, 2008, 5:11 am
Please log in for more thread options
Hiya all,

In php4 the max filesixe was limited to 2M. Is this still the same for
php5.2.6? If I cahnage the param in the php.ini file to 20M will it allow
files of 20M to be uploaded?

Posted by Paul Lautman on July 19, 2008, 5:28 am
Please log in for more thread options
Tree*Rat wrote:
> Hiya all,
>
> In php4 the max filesixe was limited to 2M.
I don't think you'll find it was. It was configureable in the ini file even
then.

> Is this still the same for
> php5.2.6?
Since there was no such 2M limit in php4.....

> If I cahnage the param in the php.ini file to 20M will it
> allow files of 20M to be uploaded?
It depends on the other associated settings:
See the box "Note: Related Configurations Note" at
http://uk2.php.net/manual/en/features.file-upload.php

Now you know where the manual is, you'll be able to answer all these sorts
of questions for yourself!





Posted by The Natural Philosopher on July 19, 2008, 11:26 am
Please log in for more thread options
Paul Lautman wrote:
> Tree*Rat wrote:
>> Hiya all,
>>
>> In php4 the max filesixe was limited to 2M.
> I don't think you'll find it was. It was configureable in the ini file even
> then.
>
>> Is this still the same for
>> php5.2.6?
> Since there was no such 2M limit in php4.....
>
>> If I cahnage the param in the php.ini file to 20M will it
>> allow files of 20M to be uploaded?
> It depends on the other associated settings:
> See the box "Note: Related Configurations Note" at
> http://uk2.php.net/manual/en/features.file-upload.php
>
> Now you know where the manual is, you'll be able to answer all these sorts
> of questions for yourself!
>
>
>
>
I think there is another limit in play as well..maximum memory. You may
beed to increase that beyond the default as well.



Similar ThreadsPosted
filesize October 2, 2004, 9:29 pm
Filesize problem February 8, 2005, 10:42 am
Filesize inconsistant March 21, 2005, 6:28 am
Max filesize to open it October 26, 2005, 7:45 pm
How to get filesize when stat() fails October 6, 2008, 10:26 am
Basic Filesize() call fails May 28, 2005, 8:12 pm
filesize() not reading http pages February 1, 2007, 4:19 am
trouble measuring filesize of gzipped data February 5, 2005, 5:48 am
Importing text file - maximum filesize February 11, 2006, 5:04 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap