leon2u
10-22-2003, 07:46 AM
Well I run a forum and now I want that users can upload attachments larger then 1 Mb in their posting. There is a restriction in mysql for 1 Mb and php for 2 Mb and because I am on a shared server I contacted my provider. He is giving me a hard time to change te settings in sql...he says that it is better to upload attachments directly to a folder.
My question is:
Can someone tell me what to change in the php code so that it does not stores the attachements into the database but into a directory called "attachments" or so.
I use the standard upload which comes witch comes with Vbulletin and on editing postings I use this ADD ATTACHMENT ON EDIT POST HACK version 1.1 - by Tommy Boy
Let me know, thanks for your effort in advance...
My question is:
Can someone tell me what to change in the php code so that it does not stores the attachements into the database but into a directory called "attachments" or so.
I use the standard upload which comes witch comes with Vbulletin and on editing postings I use this ADD ATTACHMENT ON EDIT POST HACK version 1.1 - by Tommy Boy
Let me know, thanks for your effort in advance...