Web Hosting Buzz Reseller and Dedicated Server Hosting Forums  

Go Back   Web Hosting Buzz Reseller and Dedicated Server Hosting Forums > Support

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-27-2009, 11:27 AM
YMe369 YMe369 is offline
New Bee
 
Join Date: Feb 2008
Posts: 3
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
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT. The time now is 12:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright WHB Networks LLC. All rights reserved.
SEO by vBSEO 3.2.0