|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-22 17:06 UTC] andy@php.net
[2002-10-01 14:54 UTC] hholzgra@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 22:00:01 2025 UTC |
I use parse_url() to validate url's. But that does not work in my opinion very wel.. <? $url=parse_url("http://this is no host"); print $url["host"]; ?> print's out : this is no host That's not a valid host. It should be cool if parse_url did some regexp to check. Bram