PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The code above sends the first file but i need to know how to send all 3 files (as an attachment) in the email, the message is irelevent, I will be adding that later.
Did you read my first post and go to that link. mail() isn't built to do this unless you understand MIME inside-out and I'm not particularly giddy enough to sit down and give a MIME tutorial unfortunately.
If you'd like the read the RFCs try 2822, 2045-8.
EDIT | FYI, that code definitely DOES NOT send an attachment. It sends the filename in the headers, but no attachment.