主题:正则表达式问题请高手解答谢谢.
if(!(eregi("^((http|ftp)://(www\.)?[a-z0-9-_]+\.(com|net|org){1}$)",$url))){
$blah="<b><font size=5>Please enter a valid URL address.:)</font></b>";
echo $blah;
exit;
}
}
为什么这段程序运行完是
Warning: eregi(): REG_ERANGE in D:\usr\local\www\data\9.php on line 3
Please enter a valid email address.:)
请帮忙解答下谢谢.
大家帮下忙.
$blah="<b><font size=5>Please enter a valid URL address.:)</font></b>";
echo $blah;
exit;
}
}
为什么这段程序运行完是
Warning: eregi(): REG_ERANGE in D:\usr\local\www\data\9.php on line 3
Please enter a valid email address.:)
请帮忙解答下谢谢.
大家帮下忙.