Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Email tikrinimas

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šė avice· 2011 Bir. 8 22:06:09
#2

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 @ !";
 
	}

Parašė Ponas24· 2011 Bir. 8 22:06:31
#3


elseif(!preg_match("/^[a-zA-Z0-9_]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$/",$email))
	{
 
		echo "Neteisingas emailo rasymas, nepamirskite @ !";
 
	}

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 @ !

Parašė avice· 2011 Bir. 8 22:06:45
#5

stai fusiono

	if (!preg_match("/^[-0-9A-Z_\.]{1,50}@([-0-9A-Z_\.]+\.){1,50}([0-9A-Z]){2,4}$/i", $email)) {
		$error .= $locale['406']."<br />\n";
	}

Parašė Noyz· 2011 Bir. 8 22:06:51
#6

avice parašė:
stai fusiono

	if (!preg_match("/^[-0-9A-Z_\.]{1,50}@([-0-9A-Z_\.]+\.){1,50}([0-9A-Z]){2,4}$/i", $email)) {
		$error .= $locale['406']."<br />\n";
	}


Ačiū.