faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?


New to php...would like to know how 2 capture data from a email form and send it to a thankyou page

Dec 26th, 2005 08:29
Praveen Kumar Kukkapalli, Ouch Redshift,

You can keep whatever you want to collect in teh form and action to the
PHP file in teh php file you can read the variable values using
$_REQUEST['Field_Name']. If you want to send email to the user gievn
email after submission you can use mail function 
mail($_REQUEST['email'], "Subject", "Message", "From_Name <from_email>");