Re: Problem with attaching file (from a form) to email in PHP [message #172664 is a reply to message #172661] |
Thu, 24 February 2011 04:02 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 2/23/2011 9:22 PM, 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
>
Answered in alt.php.
Please learn to crosspost instead of multiposting.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|