Log in

View Full Version : attachments


vbcustomized
07-12-2007, 02:03 AM
Hello all,

I have a small problem I was hoping you could help me out with. My current configuration on my server only allows 2mb php upload file size limit and I have some files that are much larger that i need to post as attachments so non reg'd users can not download them. If I upload directly via ftp how can I then link to them in an attachment? Sorta like hotlinking from my own site.

Thanks in advance.

Eikinskjaldi
07-12-2007, 02:49 AM
Just manually add them to your database (and filesystem if you keep attachements on disk).

da_judge
07-13-2007, 07:22 PM
Hello all,

I have a small problem I was hoping you could help me out with. My current configuration on my server only allows 2mb php upload file size limit and I have some files that are much larger that i need to post as attachments so non reg'd users can not download them. If I upload directly via ftp how can I then link to them in an attachment? Sorta like hotlinking from my own site.

Thanks in advance.

Just upload a php.ini into your forum root with this in it
memory_limit = 128M
post_max_size = 101M
upload_max_filesize = 100M

max_execution_time = 120


That should change limit to 100meg

Cheers Judge

Dismounted
07-14-2007, 05:39 AM
Just upload a php.ini into your forum root with this in it
memory_limit = 128M
post_max_size = 101M
upload_max_filesize = 100M

max_execution_time = 120


That should change limit to 100meg

Cheers Judge
This will not work on shared hosting, and where you do not have root access.

da_judge
07-16-2007, 06:13 PM
This will not work on shared hosting, and where you do not have root access.

Im on a shared hosting.. no root access... and it works 100% for me.. it can be done via .htaccess file as well... spose each hosting package differant.. but worth a try

Judge