字符?正则?

1.执行匹配正则表达式preg_match():

preg_match ( string $pattern (搜索模式), string $subject(搜索的字符串) [, array &$matches [, int $flags = 0 [, int$offset = 0 ]]] ) : int(修饰符)

2.根据给出的代码可知,需要提供一个变量名为id的字符串,以get方式传参,字符串需要与搜索模式相匹配,如:http://123.206.87.240:8002/web10/?id=key1keyaaaaaakey:/a/fgkeyf;

发布了54 篇原创文章 · 获赞 43 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/xyx107/article/details/89788544