September 19th, 2000, 12:44 AM
Anyone know that how to attach file when I use the function mail() in PHP?
September 19th, 2000, 01:09 AM
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by RayRay:
Anyone know that how to attach file when I use the function mail() in PHP?[/quote]
I've seen this question here a number of times, and to date, I don't think I've seen any form of answer.
Since file attachments are part of the MIME body of an message, I would say that you wouuld need to use a binary encode function, and make it part of your "message" variable for the "mail(to,subject,message,headers)" function.
Low Cost Hosting and Web Development.