Log in

View Full Version : Alowing visitors to upload and attach files in a script.



danny_matthews
12-22-2008, 11:26 AM
Does anyone know how to go about this?

I need the visitors of my website to upload files (such as CV's) I understand that this will then be sent to my email account via the php script. But how do i put in a 'Browse Files' button?

Danny.

Nile
12-22-2008, 03:16 PM
Here:
http://us2.php.net/manual/en/function.mail.php
Scroll down to the notes section, and find:

Note: Email with attachments and special types of content (e.g. HTML) can be sent using this function. This is accomplished via MIME-encoding - for more information, see this » Zend article or the » PEAR Mime Classes.

(You'll have to find it to click on the links)