Re: Problem with attaching file (from a form) to email in PHP [message #172668 is a reply to message #172661] |
Thu, 24 February 2011 10:42 |
Luuk
Messages: 329 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 24-02-11 03:22, Cameleon wrote:
> Hi All,
>
> I'm fairly new to PHP, and need some help with a script that I'm
> trying to write, to send infos from a form by email (with a file
> attched).
>
> I've managed my way to write a script that sends the email in plain
> text, but when I tryied to modify it, it seemed that I can't be able
> to find the proper way to add the attachment to the email.
>
> Basically, I have a form, that gets all pertinent infos (emails,
> subject, ... and I just added the file browser, so the user can attach
> the file (pictures) from his local drive).
>
> here is the code I have right now...
>
> If you could help me... it's been 2 weeks that I try to find the
> solution, but every new solution I find is not working... I saw some
> people use php mailer, or expertmailer (xpm4), but I can't seem to
> understand, because t is not working either... Hellllp... pleaaaaasee
>
What is not working?
Do you get errors? and what kind of errors?
--
Luuk
|
|
|