Home > Backend Development > PHP Tutorial > 用什么方法判断提交是否为URL,最好别用正则解决思路

用什么方法判断提交是否为URL,最好别用正则解决思路

WBOY
Release: 2016-06-13 10:16:19
Original
751 people have browsed it

用什么方法判断提交是否为URL,最好别用正则
用什么方法判断提交是否为URL,最好别用正则

------解决方案--------------------

探讨

正则也行哈 因为要匹配几乎所有类型的网址 害怕正则有问题
Related labels:
url
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template