Thanks. I already tried that which allowed me to browse but... In my form, I have: <input type="file" name="filename">
My form line is : <form method="POST" name="apply" action="result.html" ENCTYPE="multipart/form-data"> Yet when I submit, and check the value of $filename in my PHP script, it is empty??? Therefore, the attachment in my mail class ends up being empty and not sent!!! > it's HTML > <input type="file" name=""> > > -----Original Message----- > From: Don [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 12, 2001 3:37 PM > To: php > Subject: [PHP] emailing attachments > > > Hi, > > I have a class that allows me to send e-mail with an attachment. I have a > form that gathers information and I would like to allow the user to attach a > file from his local drive. Is there a PHP routine that allows the user to > browse his drive and choose a file? > > Thanks, > Don > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]