hey
im trying to make a sending mail form, but im confused
I keep getting this err:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Apache Group\Apache2\test\Testsite\TMPjrmj7mjxi8.php on line 31
email error
and ive hada look in my php.ini file, but ive no idea what to change.
also, as an added thing, ive seen this :
and i was wondering if someone could explain this for me,
thanks
im trying to make a sending mail form, but im confused
I keep getting this err:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Apache Group\Apache2\test\Testsite\TMPjrmj7mjxi8.php on line 31
email error
and ive hada look in my php.ini file, but ive no idea what to change.
also, as an added thing, ive seen this :
PHP:
function checkemail($eemail) {
if(eregi("^[0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,4}$",$eemail)) {
return true;
}
and i was wondering if someone could explain this for me,
thanks







