hi ppl..
i'm new here and i want to say that phpwcms roxx..
but i miss something.. a file upload function
i'm talking about the most common files like
.gif, .jpg, .png, .txt, .rtf, .doc, .pdf, .zip, .rar, .xls and .pub
there should also be a way for the uploader to add his/her name to the upload
this would be a great function to add..
thx everyone
/Bertil
[REQ] file upload function..?
xyncro,
It depends on what you are trying to do, but you can upload files using a form, as I did here - http://www.emergentmediagroup.com/rfp_upload.phtml
This allows files of only allowable extension to be uploaded to a specified folder and/or attached to an e-mail that is sent to the admin.
It depends on what you are trying to do, but you can upload files using a form, as I did here - http://www.emergentmediagroup.com/rfp_upload.phtml
This allows files of only allowable extension to be uploaded to a specified folder and/or attached to an e-mail that is sent to the admin.
This is done using the 'email contact form' content part, that has been available since version 1.1.9, I believe. You will need to pay me at least $5,000 US if you want to use it, though.
Take a look at this link -
http://www.phpwcms-docu.de/e-mail_contact_form.phtml
The important part is in the 'value' section of the table:
- file
max. file size: maxlength="10000000"
as attachment: attachment="1"
what kind of attachment: accept="text/*"
out of which folder: folder="content/form"
exclude files:
exclude="php,asp,php3,php4,php5,aspx,cfm,js"
Take a look at this link -
http://www.phpwcms-docu.de/e-mail_contact_form.phtml
The important part is in the 'value' section of the table:
- file
max. file size: maxlength="10000000"
as attachment: attachment="1"
what kind of attachment: accept="text/*"
out of which folder: folder="content/form"
exclude files:
exclude="php,asp,php3,php4,php5,aspx,cfm,js"