//error_reporting(E_ERROR | E_WARNING | E_PARSE);
$message = array();
$email = "";
$name = "";
$stock = "";
if( isset( $_REQUEST['mailsent'] ) )
{
mail_sent() ; return;
}
if( isset( $_REQUEST['received'] ) )
{
mail_already_sent() ;
//echo "bye" ;
return;//asm$
}
if( isset( $_REQUEST['notfound'] ) )
{
stk_not_found() ;
//echo "bye" ;
return;
}
if (isset( $_POST['submitter'] ) )
{
include_once("../Connections/ConnectToSTD.php") ;
//print_r($result) ;
if ( validation() )
{
// $sql = "select count(id) as num from std_month_stock_pdf_email where email = '".$_POST['email']."' and date BETWEEN CURDATE() and DATE_SUB(CURDATE(), INTERVAL 30 DAY) ";
$sql = "select count(id) as num from std_month_stock_pdf_email where email = '".$_POST['email']."' " ;
$result = mysql_query($sql) ;
$res = mysql_fetch_object( $result );
//echo "worker" ;
if( $res->num > 0 ) //asm$
//if( false)
{
$sql = "select count(id) as num from std_month_stock_pdf_email where email = '".$_POST['email']."' and date <= CURDATE() and date >= DATE_SUB(CURDATE(), INTERVAL 30 DAY) ";
//echo $sql;
$result = mysql_query($sql) ;
$res = mysql_fetch_object( $result ) ;
if( $res->num > 0 )
{
// echo "===";
// ob_start();
@header("Location: http://www.stocktradersdaily.com".$_SERVER['SCRIPT_NAME']."?received=1");
// ob_end_flush(); echo "=!=";
exit();
}
else
{
$sql = "select * from std_month_stock_pdf_email where email='".$_POST['email']."'";
$result = mysql_query($sql) ;
$row = mysql_fetch_array($result);
$sql = "update std_month_stock_pdf_email set stock='".strtoupper($_POST['stock'])."', date='".date("Y-m-d")."', request='".$_POST['monthly']."', download='".($row['download']+1)."' WHERE email='".$_POST['email']."'";
$result = mysql_query($sql) ;
$sql = "update std_month_stock_pdf_email_track set last_track_email_date='".date("Y-m-d")."' where std_month_stock_pdf_email_id='".$row["id"]."'";
$result = mysql_query($sql) ;
sent_email($_POST['stock']) ;
}
}
else
{
$date = date("Y-m-d");
// $script = $_SERVER['SCRIPT_NAME'] ;
// $script = str_replace(".php", "", $script );
//$script = explode("/", $script );
// $num = count($script) ;
// $script_name = $script[ $num - 1 ] ;
$sql = "insert into std_month_stock_pdf_email ( name , email , stock , date ,request ) value ('".$_POST['name']."','".$_POST['email']."','".strtoupper($_POST['stock'])."','".$date."' , '".$_POST['monthly']."') ";
$result = mysql_query($sql) ;
$std_month_stock_pdf_email_id = mysql_insert_id();
$sql = "insert into std_month_stock_pdf_email_track (std_month_stock_pdf_email_id, last_track_email_date) value ('".$std_month_stock_pdf_email_id."', '".date("Y-m-d")."')";
$result = mysql_query($sql) ;
sent_email($_POST['stock']) ;
}
}
else
{ form();}
}
else
{ form();}
?>
/* ***********************************************************
page to show the messsage for the already sent mail
################################################################# */
function mail_already_sent()
{
echo "We're Sorry, you have already received 1 Free Report this month. We only allow 1 Free Report per month. However, for our Report Subscribers, we will give you a 1 time opportunity to receive unlimted reports for the entire month for just $75. We normally charge $199. If you want this discount you must take advantage of it now. Click here: Special Discount for Report Subscribers";
}
?>
/* ***********************************************************
page to show the messsage for the mail sent
################################################################# */
function mail_sent()
{
echo "Congratulations your request has been processed. An e-mail has been sent to ".$_REQUEST['email']." , which contains an updated ".$_REQUEST['stock']." Report as a PDF attachment. If you have any additional questions, please contact us: Top of the market to You! I would also like you to know that our long term financial indicator, The Investment Rate, which the Market has followed exactly since 1900, tells us that the Market is poised for a decline that will last for the next 10 years. It predicted the Great Depression and the Stagflation periods of the 1970's in advance too, so you should understand what it is saying. We sell this report through Reuters to their Institutional Clients for $300 each. However, you can get it for FREE right here: : Sincerely, Thomas H. Kee Jr.
Get your free Real Time Trading Report Now.
Type the symbol of the stock into the field
below. This report will be e-mailed to you, make sure your address
is correct. For additional Information, click one of the links
below.
Stock Traders Daily
Stock Traders Daily
CEO, Stock Traders Daily
We are offering this FREE report to you as
an added value. We want you to understand how to trade the stocks
you are following. We offer 1 FREE Report to you every month.
If you like the report you receive, come back and get another.
*privacy policy We respect the privacy of all of our customers and we do not share your personal information with anyone. Your e-mail is requested so that we can send your FREE report to you. We will not provide your e-mail to any online marketing firm. Your information is treated as personal and confidential. |
Here is your Updated $stk Report. It has been sent as an attachment to this e-mail in PDF format. Before you do anything else, print this report. It will be much easier to use after you print it. IMPORTANT! Because stocks are dynamic, and because this is a real time report, you need to use the real time data in the attached report in conjunction with the charts of $stk in order to make correct decisions. Follow these instructions: 1. Determine if you are interested in day trading, swing trading, or investing in $stk for the long term. 2. Determine if you want to buy or short $stk. 3. Read the report to identify the trading plan you want to use. 4. Simulate the trade your chose using our real time trading simulatoror. click here and see if the plan works: http://www.ultimatetraderchallenge.com. NOTE: If you did not receive the attached report it is probably because your email provider has blocked it. Please try using a Yahoo, Gmail, or Hotmail account if you have one of those. Otherwise, you can sign up for a free trial to get the report in html (dynamic) format: http://www.stocktradersdaily.com.
A $stk stock report has been sent to $email
User Name: $name