form mail with attachment

From: Date: Sat, 13 Apr 2002 03:17:12 +0000
Subject: form mail with attachment
Groups: php.general 
Request: Send a blank email to php-general+get-92849@lists.php.net to get a copy of this message
i have this code for my form mail: <?php mail (webmaster@domain.com, "$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.

« previous php.general (#92849) next »