Thank you for choosing to exchange links with Purple Heart Cars. Please be sure to add the following information to your site:

Title: Car Donation | Donate My Car, Truck, Boat or RV | Help Disable Veterans
URL: http://www.phcars.org
Description: Your generous car donation to Purple Heart Cars is tax deductable and benefits local programs and services that help combat wounded and disabled veterans. Free towing is provided. Donate your car today!


Then fill out and submit this form:
'; $dform = "
















"; } else { include 'sql.php'; $title = mysql_real_escape_string($_POST['title']); $desc = mysql_real_escape_string($_POST['desc']); $name = mysql_real_escape_string($_POST['name']); $email = mysql_real_escape_string($_POST['email']); $url = mysql_real_escape_string($_POST['url']); $sec_code = stripslashes($_POST['security_code']); $today = date("F j, Y g:i a"); $emlimit = 200; $normal = "^[a-z0-9_\+-]+(\.[a-z0-9_\+-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*\.([a-z]{2,4})$"; $dform = "
















"; $error_list = array(); if(empty($url)) { $error_list[] = 'You did not supply the URL'; } if(empty($title)) { $error_list[] = 'You did not supply a Title'; } if(empty($desc)) { $error_list[] = 'You did not supply a Description'; } if(empty($name)) { $error_list[] = 'You did not supply a Name'; } if(empty($email)) { $error_list[] = 'Please enter a valid e-mail address.'; } if (strlen($email) > $emlimit) { $error_list[] = 'Your e-mail address is too long.'; $email = null; } if (!eregi($normal, $email)) { $error_list[] = 'Please use a valid e-mail address.'; $email = null; } session_start(); if($_SESSION['security_code'] != $sec_code) { unset($_SESSION['security_code']); $error_list[] = 'The Security Code did not match.'; } if (empty($_POST['security_code'])) { $error_list[] = 'You did not type the security code.'; } if(empty($error_list)) { session_destroy(); $sql = "INSERT INTO l_approval "; $sql .= "SET title='$title',date_posted='$today',content='$desc',name='$name',email='$email',url='$url' "; if(mysql_query($sql)) { $dform = "
Title: $title
URL: $url
Description: $desc

Name: $name
E-Mail: $email
"; $submisdate = date("F j, Y g:i a"); $mailemail = "do_not_reply@purpleheartservices.com"; $status = 'Your request was successfully submitted. Thank you for your interest in exchanging links.'; $email_contents = "A new link to us request has been submitted, please log-in to the link exchange CMS.\n"; $email_contents .= "Link Request Submitted: $submisdate\n\n"; $extra_headers = "From: Do Not Reply <$mailemail>\n"; $extra_headers .= "Reply-To: $mailemail"; mail('jdotson@purpleheartservices.com','Link Exchange Approval',"$email_contents",$extra_headers); } else { $status = 'Unable to add post.'; } } else { $status .= ''; } } ?> Purple Heart Cars : Purple Heart Foundation | Donate My Car, Truck, Boat or RV to Purple Heart Cars

< Home Page

Link Exchange



© 2009 Purple Heart Services, a 501(c)(3) not-for-profit charity of the
Military Order of the Purple Heart Service Foundation, Inc. All Rights Reserved.