Quote:
Originally Posted by unitedbreaks
I meant using FTP_put()
http://us3.php.net/ftp
The reason for this is because my uploads are timing out considering my shared host has a limit of <= 2MB and users are trying to upload 25-120MB files.
|
PHP has got an upload limit, that's probably the problem. It's a common issue

If you have full server access, you can edit your php.ini (PHP configuration file) and edit the size there manually. If you are on a shared server, you can put a .htaccess file in your forums directory (where you can find downloads.php) with the following content:
Code:
php_value upload_max_filesize 25M
php_value post_max_size 25M
Ofcourse you can change the 25MB to what you want. It overrides the php.ini setting.
Quote:
Originally Posted by Black Tiger
Are you sure? The question was:
Couldn't it work like this:
1.) He makes a downloads directory on his local server where the forum is, like it should be.
2.) Now via the Add files option, one can upload files, or link to files. If you link to files you need the complete http://siteof.files.com/filenam.zip and the length of the archive.
So If done like this, he should be able to host the files on another server and link to them through downloads II.
Or am I missing something?
|
That's indeed possible, but I think he means something different with:
Quote:
linking to those files as though they were hosted locally
|
So I think that's linking to them without revealing the download url (which can't be done with the actual link field)?
Quote:
Originally Posted by yoyoyoyo
thanks for the update. In the future I would love to see an option that is a dropdown menu that allows you to either indicate the size in bytes, kilobytes or megabytes instead of bytes - converting mb's to bytes is a drag. Thanks again.
|
An argument against this is the fact that bytes are more accurate. And it's pretty easy to know the exact size of a file in Windows: just right click it and choose for properties. There you can see the size (don't look at the "size at disk", that's not the real one).