corillo181 Posted February 13, 2008 Share Posted February 13, 2008 hey i am with host monsters.com and their max file size is only 2mb they said i can change this using .htaccess or by copying the php.ini to every directory con someone help me with this? what code would i need for .htaccess it seems to be the best way to go about it rather then going to all my directories. Link to comment https://forums.phpfreaks.com/topic/90860-max_file_size/ Share on other sites More sharing options...
corillo181 Posted February 13, 2008 Author Share Posted February 13, 2008 i tried ini_set("upload_max_filesize", "8M"); but it doesnt work i am using php 5 Link to comment https://forums.phpfreaks.com/topic/90860-max_file_size/#findComment-465676 Share on other sites More sharing options...
naveenbj Posted February 13, 2008 Share Posted February 13, 2008 i tried ini_set("upload_max_filesize", "8M"); but it doesnt work i am using php 5 Hello Im not that much good but the same problem which i hav few days ago and i used this upload_max_filesize = 8M Regards Nj Link to comment https://forums.phpfreaks.com/topic/90860-max_file_size/#findComment-465803 Share on other sites More sharing options...
pdkv2 Posted February 13, 2008 Share Posted February 13, 2008 You could try to put an .htaccess file in your website's root with the following entry: <IfModule mod_php5.c> php_value upload_max_filesize 8M </IfModule> Cheers !! Link to comment https://forums.phpfreaks.com/topic/90860-max_file_size/#findComment-465815 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.