Re: [PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Kim Steinhaug
I found the file, but since im on a Cpanel server I do have to do some checking with the admin so that I dont mess up for other users. I wouldnt want my experimenting resulting in an unstable server for other users, :) It looks like this is the only way to alter the settings. Thanks for replies.

Re: [PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Marek Kilimajer
Kim Steinhaug wrote: That leaves me with the httpd.conf settings which is supposed to work, also according to the PHP documentation. Just need to locate this file first... $> locate httpd.conf -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Kim Steinhaug
Hmm 1. We can rule out the ini_set() 2. We can now rule out the .htaccess Tried the following : .htaccess php_value upload_max_filesize 5M testfile.php print 'upload_max_filesize = ' . ini_get('upload_max_filesize') . "\n"; The testfile succesfully states the

Re: [PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Richard Davey
Hello Kim, Tuesday, December 2, 2003, 12:34:22 PM, you wrote: KS> As the default setting for file upload is set to 2MB, we usually get KS> a problem since we cant always access the php.ini on every server KS> our scripts should be run from. Can you modify the httpd.conf for your site? If so you

[PHP] Upload issue - The 2MB barrier...

2003-12-02 Thread Kim Steinhaug
As the default setting for file upload is set to 2MB, we usually get a problem since we cant always access the php.ini on every server our scripts should be run from. After looking in the php.ini file on one of my webhosting partners I noticed an interesting (in my opinion) thing with the post set