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

Home » Imported messages » comp.lang.php » button to send an email
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
button to send an email [message #179291] Tue, 02 October 2012 08:58 Go to previous message
Jack of Hearts is currently offline  Jack of Hearts
Messages: 1
Registered: October 2012
Karma:
Junior Member
Dear all,
I'm completely new to PHP but I think this is the right language to
solve my problem and I hope you can help me.

I want to add a form to my webpage to ask for an email address and the
submit button should send to such an address a preformed email.

I can write the form as

<form method="POST" enctype="text/plain">
e-mail: <input type="text" name="to">
<input type="submit" value="Get Result">
</form>

but I'm not able to get the data written in the form and prepare the
message using such data as the To: field of the message and of course I
can't send the message as well.

I imagine I've to write a PHP script to put on a server but I can't
write it and especially I don't know how to pass the data from the
webpage to such script.

Could you help me?

Thank you

Jack

--
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Asynchronous execution of PHP file
Next Topic: problem with link checker
Goto Forum:
  

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

Current Time: Mon Jul 08 19:45:59 GMT 2024

Total time taken to generate the page: 0.04900 seconds