[PHP-users 8639] Re: Àµµ¬É½¸½´Ø¿ô¤Ë¤Ä¤¤¤Æ
AriAri
php-users@php.gr.jp
Sat, 13 Jul 2002 12:51:35 +0900
¤³¤ó¤Ë¤Á¤ÏAriAri¤Ç¤¹
Mashiki¤µ¤ó¥ì¥¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
Áá®Á°²ó$regs[2]¤Ç¤È¤Ã¤Æ¤¤¿"AriAri" <ariaricom@ybb.ne.jp>¤ò
¤³¤ó¤Ê´¶¤¸¤Ç¤ä¤Ã¤Æ¤ß¤Þ¤·¤¿¡£
¤³¤ó¤É¤Ïereg¤Ë¤·¤ÆÁ´ÂΤò³ç¸Ì¤Ç¤¯¤¯¤Ã¤Æ
if
(ereg("(/[0-9A-Za-z\-]+[\-\.\w\/]*\@([0-9A-Za-z]+[\-\w]*\.){1,4}[0-9A-Za-z]+
/)",$regs[2],$add)) {
print($add[0]);
}else{
print("non");
}
¤È¤·¤Æ¤ß¤Þ¤·¤¿¡£
¤·¤«¤·non¤Èɽ¼¨¤µ¤ì¤Þ¤¹¡£
¥Þ¥Ã¥Á¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡©
$add¤ÎÃæ¿È¤Ï¶õ¤Ã¤Ý¤Ç¤¹¤Í¡©
¥¹¥¯¥ê¥×¥È¤Î¸«Ä¾¤·¤Ê¤É¿§¡¹¤ä¤Ã¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¦¡¦¡¦¤Ç¤¹
ºÇ¸å¤Ç¡ª¡©¤Ã¤Æ´¶¤¸¤Ç¤¹¡£
¼«Ê¬¤Î¤è¤¦¤ÊÁǿ͸þ¤¤Ê¥Ú¡¼¥¸¤¬¤¢¤ê¤Þ¤·¤¿¤Î¤Ç»²¹Í¤Þ¤Ç¤Ë
http://homepage2.nifty.com/sak/w_sak3/doc/sysbrd/php_k09.htm
php¤Î´ðÁääƴ¶¤¸¤Ç¤·¤¿¡£