note 24714 added to function.preg-match

From: Date: Mon, 26 Aug 2002 22:19:16 +0000
Subject: note 24714 added to function.preg-match
Groups: php.notes 
Request: Send a blank email to php-notes+get-35691@lists.php.net to get a copy of this message
While parse_url() simple and useful, it is not generally helpful for most user-entered URLs, like "foo.com", or even "foo.com/hello.html", as it will place these entire strings in the "path". It seems that unlike the regexps given here, the "scheme" is mandatory... -- http://www.php.net/manual/en/function.preg-match.php http://master.php.net/manage/user-notes.php?action=edit+24714 http://master.php.net/manage/user-notes.php?action=delete+24714 http://master.php.net/manage/user-notes.php?action=reject+24714

« previous php.notes (#35691) next »