db_connect(); $bErr = false; $cErr = false; $string = strtoupper($_COOKIE["string2"]); $userstring = strtoupper($_POST['userstring']); //setcookie("user", "", time()-3600); if (($string == $userstring) && (strlen($string) > 4)) { $rfname = $_POST['yourname']; $rfphone = $_POST['yourphone']; $rfemail = $_POST['youremail']; $rfaptnum = $_POST['aptnum']; $frname = $_POST['friendname']; $frphone = $_POST['friendphone']; $fremail = $_POST['friendemail']; $toaddress = 'leads@rentaptsonline.com'; $subject = 'Website Refer a Friend From www.LaMesaVillageApts.Com'; $mailcontent = 'Your Name: '.$rfname."\n" .'Your Phone Number: '.$rfphone."\n" .'Your Email: '.$rfemail."\n" .'Apartment number: '.$rfaptnum."\n\n" .'Friends Name: '.$frname."\n" .'Friends Phone Number: '.$frphone."\n" .'Friends Email: '.$fremail."\n"; $fromaddress = 'From:rentals@lamesavillageapts.com'; if(substr_count($cmessage,'a href=')==0 && substr_count($cmessage,'www.')==0 && substr_count($cmessage,'http://')==0 && substr_count($cmessage,'src=')==0 && substr_count($cmessage,'.exe')==0 && substr_count($cmessage,'.php')==0 && substr_count($cmessage,'.net')==0 && substr_count($cmessage,'.com')==0) { mail($toaddress, $subject, $mailcontent, $fromaddress); header ('location:scripts/refer-process.php'); } else { $cErr = true; } } else { $bErr = true; } ?>

La Mesa Apartments, La Mesa 91941; La Mesa Village Apartments, La Mesa apartments for rent, La Mesa Apts, La Mesa Ca 91941

"; } else{ echo ""; } ?>
     
 

Refer A Friend

Attention receive a referral fee of $100.00 Prospect must rent... They must write on their guest card that you referred them.
Refer your Friends to Us now!
To Tell Others About This Site, Simply Enter Their Email Address Below.
TENANT INFORMATION:
Your Name:
Your Phone Number:
Your email:
Apartment Number/Building:
REFERAL INFORMATION:
Friends Name:
Friends Phone Number:
Friends Email:
Sending Error

There was an error in the information that you have presented.
Your request is not successful

"; } if($bErr == true && !empty($_POST['userstring'])){ echo "

You have entered the wrong code!

"; } ?>
Please enter the code shown
 

 

www.LaMesaVillageApts.com

7914 La Mesa Blvd.

La Mesa, CA 91941

Phone: (619) 697-7066 Fax: (619)-697-2693