Page 3 of 3

Posted: Mon Jun 23, 2003 3:40 pm
by releasedj

Posted: Mon Jun 23, 2003 3:43 pm
by mikusan
.htaccess
php_value upload_max_filesize 8000000

Posted: Mon Jun 23, 2003 3:47 pm
by releasedj
You may be able to change it using a .htaccess file, if so, in you .htaccess file put:

Code: Select all

php_value upload_max_filesize "20M"
http://www.php.net/function.ini-set

Posted: Mon Jun 23, 2003 3:47 pm
by releasedj
Oh, sorry. Did it work?

Posted: Mon Jun 23, 2003 3:57 pm
by mikusan
LOL using a modem waiting for 5 megs to clear out, script hasn't timed out yet... while i wait, do you know some javascript that determines how much of it you have uploaded?

Posted: Mon Jun 23, 2003 4:07 pm
by releasedj
That isn't possible.

Javascript can't even access the cntents of the file box for security reasons.

There was talk a couple of weeks back of someone building functionality into PHP to be able to track the amount a file has uploaded, but it's a way of being put into the distro.

Posted: Mon Jun 23, 2003 4:11 pm
by mikusan
Could you point me to that article?

Posted: Mon Jun 23, 2003 4:18 pm
by releasedj
Here's a link of the post to the php internals list:

http://www.zend.com/lists/php-dev/200306/msg00075.html