-
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
-
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules