#19141 [Opn->Bgs]: gethostbyname fails with complete http-address

From: Date: Wed, 28 Aug 2002 08:51:05 +0000
Subject: #19141 [Opn->Bgs]: gethostbyname fails with complete http-address
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18007@lists.php.net to get a copy of this message
ID: 19141 Updated by: derick@php.net Reported By: thomasdkeller@web.de -Status: Open +Status: Bogus Bug Type: HTTP related Operating System: Windows 2000 PHP Version: 4.2.2 New Comment: No, 'http://' is the protocol specification, and has nothing to do with the hostname. Derick Previous Comments: ------------------------------------------------------------------------ [2002-08-28 04:48:30] thomasdkeller@web.de Hi there! During my work on a link system i noticed that gethostbyname($string) fails, when $string contains an url with leading "http://" - shouldn't be there a small internal condition to prevent this failure? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19141&edit=1

« previous php.bugs (#18007) next »