filesize

This is a discussion on filesize within the PHP Language forums, part of the PHP Programming Forums category; Hiya all, In php4 the max filesixe was limited to 2M. Is this still the same for php5.2.6? ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-19-2008
Tree*Rat
 
Posts: n/a
Default filesize

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?
Reply With Quote
  #2 (permalink)  
Old 07-19-2008
Paul Lautman
 
Posts: n/a
Default Re: filesize

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!




Reply With Quote
  #3 (permalink)  
Old 07-19-2008
The Natural Philosopher
 
Posts: n/a
Default Re: filesize

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.


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 09:13 AM.


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