At 13.04.2002  03:17, you wrote:

>i have this code for my form mail:
>
><?php
>mail ([EMAIL PROTECTED], "$subject", "From: $name\r\nEmail: 
>$email\r\nWebsite: $website\r\nMessage: $message", "From: $email\r\n");
>?>
>
>i need to add an attachment file with the variable $file. what do i need 
>to add in the code so that i will also be able to receive the attached 
>file sent from the website?
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
Hi, canīt you delete this f*ing advertisment ;-)
Look at 
http://www.php-resource.de/scripts.php?cat=list&caty=PHP&catTyp=Mail&CR=49&RL=20
scroll down to class mime_mail, and load it down.
All you need (and only this). There are some other classes around, but this 
work fine(for me)
and is real small.
Sorry itīs a german link, but it was on page 2 of google.

HTH Oliver


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

Reply via email to