This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //I am using this for an AJAX call, and checking my responses against the success or failure that it is echoing back. | |
//create array of data to be posted | |
$full_name = stripslashes(trim(strip_tags($_POST['full_name']))); | |
$email_address = stripslashes(trim(strip_tags($_POST['email_address']))); | |
if(!empty($full_name) && !empty($email_address)){ | |
$post_data['MID'] = "10488043"; | |
$post_data['Full Name'] = $full_name; | |
$post_data['Email Address'] = $email_address; | |
$post_data['thx'] = ''; |