iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-18-2006, 04:26 PM
WebProWorld New Member
 
Join Date: Feb 2006
Posts: 1
powerdomein RepRank 0
Default Send attachment in php form

Dear guys,

I create a script. Using this script people can register them self. When they register i want send them some information, in this conformation email.
I have a PDF file. How can i send this file as attachment in the conformation e-mail. Which code or funtion in PHP allow me to send this file

Can anyone help me..

Thanks,
Reply With Quote
  #2 (permalink)  
Old 02-19-2006, 04:09 AM
southplatte's Avatar
WebProWorld Veteran
 
Join Date: Jul 2003
Location: Colorado
Posts: 358
southplatte RepRank 1
Default

Using PHP's mail() function you can send a mime encoded message that includes the attachement. I direct you first to the PHP site docs for the mail() function, which has some links to the Zend site and an article that discusses this directly.

http://us2.php.net/function.mail
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:18 AM.



Search Engine Optimization by vBSEO 3.3.0