Re: emailing attachments
| From: | Don | Date: | Mon, 12 Nov 2001 05:01:44 +0000 |
| Subject: | Re: emailing attachments | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74216@lists.php.net to get a copy of this message | ||
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:mail4donpro@home.com]
> 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
>