View Full Version : help: upload 100 mb files.
razrjm
06-20-2007, 11:53 PM
sir, i'm making a php program which can upload up to 100 mb file, but i can't upload greater than 2 mb.. sir can u help me how to solve this problem.. thanks..
siguie
06-21-2007, 04:37 AM
Check the php.ini file in your account and set the max file size to something larger.
charlesgan
06-21-2007, 06:51 AM
upload_max_filesize
uploading a 100mb will take sometime.
areidmtm
06-21-2007, 08:45 AM
Remember, if you edit the php.ini file, it needs to be in every folder that has php files
Pethens
06-21-2007, 09:55 AM
You will also have to set post_max_size to at least 100 MB. This is done in your php.ini file just like the upload max size.
Bluehost also supports Perl, and for 100 MB files you may want to use a nice Perl upload tool which supports a progress bar. You can't do this in PHP without recompiling:
http://uber-uploader.sourceforge.net/
razrjm
06-21-2007, 05:56 PM
thanks i got it..
Bluehost also supports Perl, and for 100 MB files you may want to use a nice Perl upload tool which supports a progress bar. You can't do this in PHP without recompiling:
http://uber-uploader.sourceforge.net/
sir, is thier any language aside from Perl which support a progress bar? is javascript support progress bar?
Basil
06-21-2007, 06:37 PM
thanks i got it..
sir, is thier any language aside from Perl which support a progress bar? is javascript support progress bar?
Not accurately. Java maybe. Definitely not javascript.
razrjm
06-21-2007, 08:39 PM
Not accurately. Java maybe. Definitely not javascript.
ok. sir, can u give me a php or other scripting language code for a simple progress bar? thanks..
Basil
06-21-2007, 09:29 PM
http://proj.ycicom.net/projects/yuploader/ I think this uses flash to calculate the upload speed, anyways, it's mostly PHP.
razrjm
06-22-2007, 01:43 AM
sir, actually it works on my localhost when i uploaded my php programs into our our site and i edited the php.ini it did'nt work the problem when i check the phpinfo the upload_max_filesize still 2M and post_max_size still 8M and i already set the upload_max_filesize and post_max_size to 120M .. sir, please help me to fix this problem. thanks.
Basil
06-22-2007, 08:43 AM
I don't know if phpinfo will reflect the change or not. I have an auto_prepend_file and auto_append_file in my php.ini file and I know they both work, except phpinfo doesn't show any value for those two variables.
Pethens
06-22-2007, 12:05 PM
sir, actually it works on my localhost when i uploaded my php programs into our our site and i edited the php.ini it did'nt work the problem when i check the phpinfo the upload_max_filesize still 2M and post_max_size still 8M and i already set the upload_max_filesize and post_max_size to 120M .. sir, please help me to fix this problem. thanks.
To see the changes, you have to copy php.ini into the same folder that contains the php script that runs phpinfo(). If you do that you can change upload_max_filesize freely, it works for me. You will also have to copy php.ini into the folder that contains your upload script.
razrjm
06-24-2007, 07:31 PM
To see the changes, you have to copy php.ini into the same folder that contains the php script that runs phpinfo(). If you do that you can change upload_max_filesize freely, it works for me. You will also have to copy php.ini into the folder that contains your upload script.
thanks it works..
charlesp
06-26-2007, 12:51 AM
2M is the maximum file size that can be uploaded using php. I don't think it can be increased using php.ini.
Pethens
06-26-2007, 10:46 AM
Another good reason to use Perl.
felgall
06-26-2007, 01:09 PM
You can upload files as big as you like with PHP provided that you use the FTP module to do it.
Pethens
06-26-2007, 01:52 PM
You can upload files as big as you like with PHP provided that you use the FTP module to do it.
Do you have a link for that? I'd like to read more about it.
PhaRaOh
06-27-2007, 05:07 PM
Do you have a link for that? I'd like to read more about it.
yo ^^
i know a cool php script let u upload any file u want with any size :eek: and it can upload files from rapidshare megaupload and other free filehosting to ur website :D
u can get the script from www.rapidleech.com
>.> the site is down [ Bandwidth Limit Exceeded ]
P.S sometimes if u are dl a larg file with a speed like 1 or 2 mb per sec for like 5 minutes or more with this speed ur site goes cpu exceeded so be careful o.o
areidmtm
06-27-2007, 06:39 PM
If you want to learn more about FTP with PHP, go here
http://us.php.net/ftp
Pethens
06-27-2007, 07:27 PM
Thanks, I already knew about that. I don't think it will help me write a PHP script that uploads a file from the user's computer to a Bluehost server using FTP. So it's still a matter of using HTTP for file upload, or requiring the user to install an FTP client, which is undesirable in some situations.
Pethens
06-28-2007, 10:08 AM
2M is the maximum file size that can be uploaded using php. I don't think it can be increased using php.ini.
For the record, it is possible to load files larger than 2M with php by changing the upload_max_filesize in php.ini. If you set a MAX_FILE_SIZE in the html form, you have to change that as well because PHP will respect it if it is smaller than the value in the php.ini file.
felgall
06-28-2007, 01:17 PM
Files bigger than 2Mb should be uploaded using ftp:// instead of http://
Using http:// to upload large files is like entering a car race on a tricycle.
kan_gou_lai
07-27-2007, 11:44 PM
yo ^^
i know a cool php script let u upload any file u want with any size :eek: and it can upload files from rapidshare megaupload and other free filehosting to ur website :D
u can get the script from www.rapidleech.com
>.> the site is down [ Bandwidth Limit Exceeded ]
P.S sometimes if u are dl a larg file with a speed like 1 or 2 mb per sec for like 5 minutes or more with this speed ur site goes cpu exceeded so be careful o.o
hello,could you please talk to me more detail about this. Cause i'm using it i can't download a file more than 75MB to my host. But on my other host, it works perfectly
aminulsumon
03-31-2008, 10:33 PM
you can upload 100MB file by using .htaccess. please goto:
http://www.shopno-dinga.com/ShopnoForum/comments.php?DiscussionID=7
Aminul
bharanikumarphp
04-01-2008, 12:05 AM
dears my computer in remote place..
then how can i do that..
my remote compurter is windows..
so how can i upload 10mb file ..
aminulsumon
04-01-2008, 07:07 AM
remote server is not a big dill while you use ftp_connect() function of PHP. So use this function and transfer your file into remote server. For more information about ftp_connect() go here. http://www.shopno-dinga.com/ShopnoForum/comments.php?DiscussionID=7&page=1#Item_0
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.