Advertisement:

Author Topic: How to upload large attachments?  (Read 2537 times)

Offline awe32

  • Newbie
  • *
  • Posts: 5
How to upload large attachments?
« on: November 26, 2008, 01:53:39 AM »
I'm using linux hosting and I want to enable large files (100m) to use in the post attachment.
It seems i have a problem with my database or hosting, the "maxfilesize" in the smf setting is ok.
How can i do that?
Thanks
« Last Edit: November 26, 2008, 01:58:27 AM by awe32 »

Offline insanehsp

  • Semi-Newbie
  • *
  • Posts: 74
    • Hoerspielprojekt
Re: How to upload large attachments?
« Reply #1 on: November 26, 2008, 02:08:51 AM »
You have to change the php.ini for this - That means you have to use a a server with root access but for such big uploads, it´s always better to use CGI.
Werde zum Hörspielsprecher: Hoerspielprojekt.de
ODER
Besuche das Hörspiel-Forum: Hoertalk.de


Offline pooya

  • Jr. Member
  • **
  • Posts: 113
Re: How to upload large attachments?
« Reply #2 on: November 26, 2008, 02:27:22 AM »
How do we use cgi ? i too have a limit of 2mb from host.

Offline insanehsp

  • Semi-Newbie
  • *
  • Posts: 74
    • Hoerspielprojekt
Re: How to upload large attachments?
« Reply #3 on: November 26, 2008, 02:44:30 AM »
You have to contact your host or you have to look in the details from your host, if he support this. Most provider have decreased cgi-options to protect for overloading.
« Last Edit: November 26, 2008, 02:49:27 AM by insanehsp »
Werde zum Hörspielsprecher: Hoerspielprojekt.de
ODER
Besuche das Hörspiel-Forum: Hoertalk.de


Offline awe32

  • Newbie
  • *
  • Posts: 5
Re: How to upload large attachments?
« Reply #4 on: November 26, 2008, 02:52:19 AM »
could some please find us a solution? maybe an uploading applet or something.
thanks

Offline insanehsp

  • Semi-Newbie
  • *
  • Posts: 74
    • Hoerspielprojekt
Re: How to upload large attachments?
« Reply #5 on: November 26, 2008, 03:26:06 AM »
There is no solution, if you can´t access the php.ini

So you have to go other ways: Upload files on a host like Rapidshare.com or make FTP-Accounts for your Boarduser.....
Werde zum Hörspielsprecher: Hoerspielprojekt.de
ODER
Besuche das Hörspiel-Forum: Hoertalk.de


Offline N3RVE

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,907
  • Gender: Male
    • N3RVE.COM
Re: How to upload large attachments?
« Reply #6 on: December 23, 2008, 01:50:48 PM »
So you have to go other ways: Upload files on a host like Rapidshare.com or make FTP-Accounts for your Boardusers.....

Correct, alternatively, you can pay for a dedicated plan and conviniently change php.ini settings as required since you'd be in control of a Virtual private server.

You can also be on a shared server plan and have the ability to create your own php.ini file to override whatever's in the system file. You will need to talk with your host to find out the details on how to do this. For example, on some systems, you have to put in a line (suPHP_ConfigPath) in .htaccess to tell PHP where to find php.ini.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote
“Somewhere, something incredible is waiting to be known.” - Carl Sagan