SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2005
    Location
    New York
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question PHP post_max_size

    Hi,

    I have a script that uploads files to a server. All works well until I get to a file around 1200KB (a little over 1MB). I checked my post_max_size values (8MB) and memory limit (40MB). When I go over this file size and do a print_r($_FILES); suddenly the file type is blank however the filename value is there. Is ther something else in PHP.ini I should be looking for? Thanks

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    Mar 2006
    Posts
    6,132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    theres also upload_max_filesize


    what else do you get with the print_r($_FILES)?

    whats the value of the error entry?

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2005
    Location
    New York
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Clamcrusher,

    That was it - My upload_max_filesize was set to 2MB. Thanks again!


Bookmarks

Posting Permissions

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