Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15
  1. #11
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    What's $limit defined as? (If you have defined it...)

  2. #12
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    This is the config file. The image i was trying to upload is 1.67KB

    <?php

    $uploadfolder = 'images/'; //The folder in which the images will be uploaded to.
    $sizelimit = '5000'; //The max size of the file you can upload. Measured in KB.
    $filetypes = array('image/gif',
    'image/pjpeg',
    'image/jpeg',
    'image/png',
    'image/PNG',
    'image/bmp',
    'image/jpg'); //Types of files allowed to be uploaded.
    $limitfiletype = 'yes'; //Whether you want the types of uploaded files to be limited (yes/no)


    ?>
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  3. #13
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    try my vers forge

    You havent defined limit so it thinks its 0.
    Coming and going...
    Highers are getting the better of me

  4. #14
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    Thanks CJ555 & Invent! It was just that the limit wasn't defined! Silly me i thought i already had because i had defined $sizelimit! woops! +REP!
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  5. #15
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    Nps

    REP returned
    Coming and going...
    Highers are getting the better of me

Page 2 of 2 FirstFirst 12

Posting Permissions

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