The pic upload limit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    The pic upload limit

    How do i get to change the pic upload limit in class.upload.php from 1024 kb (1mb) to 2024 kb (2mb). I've changed it but when i upload a pic that's more than 1024 kb it says uploaded successfully, but the pic doesn't show!!!! It's blank

    #2
    I have answered this question already but spam block keeps blocking it.....
    So attempt number 3:

    check you max upload size:
    info.php:
    PHP Code:
    <php
    phpinfo
    ();
    ?> 
    (make sure you hide or delete this file after use as is handy to hackers)

    change upload size in .htaccesss:
    Code:
    php_value post_max_size 50M
    php_value upload_max_filesize 30M
    or

    Code:
    php5_value post_max_size 50M
    php5_value upload_max_filesize 30M
    depending on configuration.

    or php.ini
    Code:
    upload_max_filesize = 30M
    post_max_size = 50M
    Note: some hosts will not allow you to change these settings.

    Comment


      #3
      Thanks bro, but is that 50 m and 30 m = 50 and 30 mb or similar to the 2mb i mentioned above?

      Comment


        #4
        2 M will be 2mb

        you may need to increase memory limit in same way at same time:
        .htaccess
        Code:
        php_value memory_limit 30M
        php.ini
        Code:
        memory_limit = 30M

        Comment

        Working...
        X