FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


I need PHP script





vignesh_natraj
I need a php form to mail script.Please post it here.
BlackSkad
Just use the search feature of the forum. There already 2 or 3 such a topics... It's not difficult, just takes some time...
kenetix
and if you are too lazy to search thru the forum try this tutorial:
http://www.phpeasystep.com/workshopview.php?id=8
It's very nice and easy to use.
Rosanova
....and if you are more lazy then try to visit http://www.hotscripts.com. They are my personally php script dealer.

Cheers!
dandelion
This question has been answered by me several times.
Just search for 'mail form' (author = 'dandelion').
yjwong
You can use the PHP mail() function...
cambridge
Code:

// mail headers
// ----------------
  $headers = "From: ".$from_name." <".$from_email.">\n"
  ."Replay-To: ".$reply_email."\n"
  ."Cc: ".$cc_email."\n"
  ."X-Mailer: type anything you want here eg My Mailer\n"
  ."Content-Type: text/plain; charset=iso-8859-1";

// send mail
// -----------------
  mail ($mail_to, $mail_subject, $mail_body, $headers);

variables should contain:
$from_name = your or your company name
$from_name = your or your company mail
$reply_mail = can be the same as above
$cc_mail = remove line containing this if you don't wat to send carbon copy
$mail_to = email to send mail to
$mail_subject = mail subject:-)
$mail_body = mail body :-) :-)

remember to use proper charset (iso-8859-1 is west european standard set)

enjoy
Related topics
Phoenix free PHP scripts
error in my PHP script
how can i make a php script for enter username and password?
Inserting data to MYSQL with a PHP script
Running a "Hello World" php script
[PHP] Running Cron Jobs Via PHP Script
Simple PHP script not working
PHP Script- How can we install it
I need a VERY simple php script
PHP Script needed
Logging systeem php script
Preventing bad PHP script calls
array check box on php script using $_POST
How to change extension php to html but the php script still
php script not loading
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.