ID: 2393
Updated by: andy
Status: Open
Old Bug Type: Misbehaving function
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 3.0.12
New Comment:


Previous Comments:

[1999-09-27 19:06:38] [EMAIL PROTECTED]

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.



Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to