|
From: Bill H. <bil...@gm...> - 2005-03-24 14:42:13
|
Hi folks - That flag is already in a .htaccess file for the entire site, set to 10MB. Has been for quite some time. Frankly, I'm not sure why it wouldn't work. The last time I tested, I think I was able to upload a 3MB file, and the default without that .htacess flag is 2MB, so it must be working indeed. There is also an ini_set() function in the script, but it doesn't always work, depending on how php is configured on the server. In the case of northcountrypblicradio.org, the server is set to not accept changes to upload_max_filesize from scripts. Dale - Are you sure that uploader doesn't work? If it was an issue of filesize, you'd not be able to add stories over 2MB, which I think hasn't been a problem. Correct me if I'm wrong. Thanks, Bill On Thu, 24 Mar 2005 01:52:04 -0500, Michael J. Forte <fo...@cl...> wrote: > Dale, > > I believe the upload problem lies within your PHP config. There is an > variable in the php.ini called "upload_max_filesize" which defaults to 2M. > You can either change this setting there or, if you drop the attached > .htaccess file into your newsdb folder your problem should be fixed. > > Todd, > > I found a workaround for our issue with PHP and upload_max_filesize. This > will work very well for us and does not require any root access. > > Thanks, > Michael J. Forte > Technical Writer / Web Designer / Web Host > > Education > Clarkson University, May 2005 > B.S. Technical Communications and B.S. MIS > GPA 3.56 > > Contact Information > Email: mic...@ho... > Campus Phone: 315-268-3731 > Cell Phone: 315-882-1873 > Per. Phone: 315-677-9076 > > > |