If you are driving traffic and want to collect a customer base so that you can later make likes or otherwise use user data, then you definitely need a script for sending applications to your email!
It’s done quite simply:
Take these, open the fileorder.php(or whatever your PHP script that sends requests is called?) and at the very beginning after<?phpinsert this code:
$sendto = "youremail@gmail.com"; //Mail for accepting applications
$from = "Your Landing";
$name = $_POST['name'];
$phone = $_POST['phone'];
// Formation of the letter header
$subject = "New request";
$headers = "From: YourLanding <orders@landing.name> \r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html;charset=utf-8 \r\n";
// Formation of the body of the letter
$msg = "<html><body style='font-family:Arial,sans-serif;'>";
$msg .= "<h2 style='font-weight:bold;border-bottom:1px dotted #ccc;'>Application from the site</h2>\r\n";
$msg .= "<p><strong>Name:</strong> ".$name."</p>\r\n";
$msg .= "<p><strong>Phone:</strong> ".$phone."</p>\r\n";
$msg .= "</body></html>";
mail($sendto, $subject, $msg, $headers);
In the first line of this script, change the email to yours and go ahead! Upload the landing pagehosting, after which all leads other than affiliate network will be sent to you. Don’t forget to check thathostingSending emails was enabled!
Other scripts for your landing pages guys:
—countdown timer script
—blocking the back buttonorreplacing it with another offer
—Comebacker widget
—Callbacker widget


