WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox 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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-18-2006, 03: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, 03:09 AM
southplatte's Avatar
WebProWorld Veteran
 

Join Date: Jul 2003
Location: Colorado
Posts: 380
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
Tags: , , ,



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

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


Search Engine Optimization by vBSEO 3.2.0