I'm not sure what's wrong with my script, posted here.
Here is what is at the top of my config.php file:
$allowed_email_recipients_array = array('paragonsuites.com','www.paragonsuites.com', 'john@paragonsuites.com');
$referers = array('66.11.164.208', 'paragonsuites.com','www.paragonsuites.com');
/*66.11.164.208 is IP for TCH... helps new sites work
Should not be required after propogation
But doesn't hurt*/
$recipient = "john@paragonsuites.com";
Can I place the config.php, mailit.php files in the same folder? Do they need to be in different folders? Also, I'm on a Mac, does that make any difference? Sorry, I'm very new to php - the webhost I have to post this site on won't accept good ol' Formmail so I am trying to find an easy alternative.
I keep getting the "invalid recipient" message after I test the form that others seem to be getting. I am uploading the files using an ftp client. I have trashed the cache several times in both browsers I've tested it on. Same results. Any way you could help? I would really appreciate it.
James