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

reclassified

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.

Bram

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=2393&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
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