Parašė Noyz· 2011 Bir. 8 22:06:47
#1
Turiu :
elseif(!preg_match("^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$]",$email))
{
echo "Neteisingas emailo rasymas, nepamirskite @ !";
}
Meta klaidą :
Warning: preg_match() [function.preg-match]: No ending delimiter '^' found in C:\xampp\htdocs\guestbook\index.php on line 32
Neteisingas emailo rasymas, nepamirskite @ !
Kas blogai?
Parašė Noyz· 2011 Bir. 8 22:06:34
#4
avice parašė:
tai googlei negalejai ko nors panasau susirast?
bandyk
elseif(!preg_match("/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email) > 0)
{
echo "Neteisingas emailo rasymas, nepamirskite @ !";
}
Warning: preg_match() [function.preg-match]: Compilation failed: range out of order in character class at offset 12 in C:\xampp\htdocs\guestbook\index.php on line 32
Neteisingas emailo rasymas, nepamirskite @ !