![]() |
i suck at this - help
can anybody tell me why this little contact form isn't working for me? i get 'Mail Error' when I submit the form.
PHP Code:
|
is mail enabled on your server?
|
$headers .= 'From: '.$email . "\r\n";
to $headers .= 'From: '.$_POST['txt_email'] . "\r\n"; |
Quote:
|
Quote:
[email protected] Cc: [email protected], [email protected], [email protected]... For the from address or anything else user submitted, use only the captured text from a proper regex match on valid input. |
Sanitize dat inputz! http://php.net/manual/en/filter.filters.sanitize.php
|
Quote:
|
tried it on another server - works. this host must have mail blocked.
i have no idea how to make the form spammer proof - it's a jquery mail form called SimpleModal that seems to be very popular. |
I told you I do that day in and day out...
I must inadvertently pissed in your cheerios at one time or another... Anyway, the bowl is kicking off. Hit me up if you need future help! |
All times are GMT -7. The time now is 11:35 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123