karldesign Posted May 22, 2008 Share Posted May 22, 2008 I'm sick of looking on Google and other websites trying to find a really simple URL checker for a function... All I want to do is check the URL has the following attributes: 1) http:// or https:// 2) may/may not have www. 3) have a string between, which allows common characters for URLs 4) must finish with a .xxx, where .xxx is a possible URL ending Any help in constructing this would be excellent. Link to comment https://forums.phpfreaks.com/topic/106758-url-validation/ Share on other sites More sharing options...
effigy Posted May 22, 2008 Share Posted May 22, 2008 http://www.phpfreaks.com/forums/index.php/topic,197080.msg889068.html#msg889068 Link to comment https://forums.phpfreaks.com/topic/106758-url-validation/#findComment-547317 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.