Bluehost.com Web Hosting $6.95

PHP upload limit.

This is a discussion on PHP upload limit. within the alt.comp.lang.php forums, part of the PHP Programming Forums category; My web host has the upload_max_filesize in php.ini set to 2Mb and won't change it. Is there any ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-27-2004
Gorf
 
Posts: n/a
Default PHP upload limit.

My web host has the upload_max_filesize in php.ini set to 2Mb and won't
change it. Is there any way to get around it so I can upload larger files?
Someone mentioned PHP_INI_PERDIR in the .htaccess directory, but I couldn't
seem to get this to work.

Is there *anything* I can do to upload larger files? Also, what if I want
to upload lots of little files in one upload and their total (but not
individual) size is greater than 2Mb, will that be allowed?

Thanks in advance.

--
Gorf

Jesus Saves! Passes to Moses, he shoots... HE SCORES!!!


Reply With Quote
  #2 (permalink)  
Old 04-27-2004
ScareCrowe
 
Posts: n/a
Default Re: PHP upload limit.

Not sure if I'm correct but I would recommend using "set_ini" function.
Check this page: http://us3.php.net/manual/en/function.ini-set.php and look
for the 'upload_max_filesize'.
Hope it works out.
--ScareCrowe

"Gorf" <britgorf@hotmail.com> wrote in message
news:1083072658.24817.0@demeter.uk.clara.net...
> My web host has the upload_max_filesize in php.ini set to 2Mb and won't
> change it. Is there any way to get around it so I can upload larger

files?
> Someone mentioned PHP_INI_PERDIR in the .htaccess directory, but I

couldn't
> seem to get this to work.
>
> Is there *anything* I can do to upload larger files? Also, what if I want
> to upload lots of little files in one upload and their total (but not
> individual) size is greater than 2Mb, will that be allowed?
>
> Thanks in advance.
>
> --
> Gorf
>
> Jesus Saves! Passes to Moses, he shoots... HE SCORES!!!
>
>





-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0