FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » CLP - ON TOPIC! - Need PHP form email help, Please!
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: CLP - ON TOPIC! - Need PHP form email help, Please! [message #173125 is a reply to message #173113] Tue, 22 March 2011 23:16 Go to previous messageGo to previous message
<nospam is currently offline  <nospam
Messages: 1
Registered: March 2011
Karma:
Junior Member
In article <4LZhp.79092$or1(dot)46990(at)newsfe26(dot)ams2>, Andy
<andy(at)NOSPAMmanyplay(dot)com> wrote:

> "Tim" <batwzrd(at)hotmail(dot)com> wrote in message
> news:210320111731440609%batwzrd(at)hotmail(dot)com...
>> I have a form in which the user can upload a photo, which is then sent
>> to me along with the other data on the form. I have formatted the data
>> into an HTML email with the photo attached. I would like the photo
>> embedded in a specific place on the page, but I have not found the code
>> to do this and don't know enough about it to write the code myself.
>>
>> It would also be nice to be able to have the photo, once uploaded, to
>> replace the upload button and associated text on the page in the place
>> I want the photo to appear. Then maybe send the page as is as an HTML
>> email?
>>
>> Any help would be appreciated.
>>
>
> Hi Tim,
>
> Have a look at phpmailer...
>
> http://phpmailer.worxware.com/
>
> ...if you can generate an html page that looks like the email page you would
> like to email, then phpmailer can wrap it all up, embed the images and send
> it as email.
>
> Hope this helps
>
>
> Andy
>
I got phpmailer, but it didn't look like it would solve my problem. I
created an html page that looks the way I want, but without the image.
Since I don't know what the name of the image is I can only put a space
holder. So I need to know how to get the code to place the reference to
the image in that place.

Would something like this do it?

<img src=$_FILES['headshot']['name']>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ip address of client
Next Topic: Islandnet.com dropping support for PHP4
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 09:01:22 GMT 2024

Total time taken to generate the page: 0.04369 seconds