You will need to read the file into an array using file() then
join/base64/split and then setup the right headers to attach the mime
encoded attachment.


Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, 15 January 2003 11:10 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] attach image with the mail command?
> 
> 
> how can i attach an image with the mail command
> how do get the image in a variable when i have chosen it with 
> the input type file?
> 
> Harry
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to