+ Reply to Thread
Results 1 to 2 of 2

Thread: php filesize limit problem with framework

  1. #1
    YMe369 is offline New Bee
    Join Date
    Feb 2008
    Posts
    5
    WHB Points this Month
    0.00
    WHB Points
    0.00
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default php filesize limit problem with framework

    I hope this is the correct place for asking this, but here goes anyway:

    In an admin section on my site I am currently using a php.ini file to max the upload filesize to 20MB, the ini file contains the following:
    upload_max_filesize = 20M ;
    post_max_size = 20M ;

    This works fine, as the script file is located in the folder containing the ini file.

    While working on the new website, it now uses a custom framework with url redirecting (...com/controller/action/ instead of ...com/folder/file/).
    I tried doing the same (adding the ini file to that main folder), and it works aswell.
    Problem is that it works throughtout the entire site, I only need the upgraded filesize on 1 page/script... I dont want to have this available on other uplaod scripts where it's not specifically required.

    I tried PHP's ini_set function on the 1 script, but that doesnt work, (in the past the ini file was the only working solution to the filesize limit).

    I have no clue how to fix this other than what I already tried, and was hoping (if possible at all) someone might have some knowledge on how to approach this situation.
    Many thanks in advance.

    Regards,
    Yme

  2. #2
    Lena S.'s Avatar
    Lena S. is offline WeeHBie
    Join Date
    Jun 2008
    Posts
    686
    WHB Points this Month
    0.00
    WHB Points
    5.00
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Dear Yme,

    Please submit a ticket with all the details about this issue to the Technical Escalations department at our helpdesk https://whbsupport.com, and our senior system administrator will assist you as soon as possible.

+ Reply to Thread

Posting Permissions

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