Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2003
    Location
    Virginia, USA
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow How to change the maximum upload size

    Is there a way to change this without editing the php.ini file (which I do not have access to)? Maybe with .htaccess or something else?

    I'm using a php file manager and it seems there's a 2mb limit.

    Erika

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    From what I know there is no way to change the upload size limits other than editing the php.ini.
    De gustibus non est disputandum.

  • #3
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    there isnt as far as i know of either... alot of free hosts do this to prevent upload of illegal mp3's, and just to limit you so you may consider paid hosting.

    Are you paying? If so, i suggest you contact your webhost and ask them to do something.

  • #4
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    What you're looking for is the upload_max_filesize setting. According to the PHP documentation, it has a changeable setting of: PHP_INI_SYSTEM, meaning it can only be changed in the php.ini or httpd.conf files.

    FYI:

    Changeable settings are:
    PHP_INI_USER = Entry can be set in user scripts
    PHP_INI_PERDIR = Entry can be set in php.ini, .htaccess or httpd.conf
    PHP_INI_SYSTEM = Entry can be set in php.ini or httpd.conf
    PHP_INI_ALL = Entry can be set anywhere

    For more information, check out the ini_set function in php

  • #5
    Registered User
    Join Date
    Aug 2003
    Location
    Virginia, USA
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks all, that answers my question.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •