#12678 [Com]: gethostbyname returns hostname instead of adresss
| From: | tits-unusual1183 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:13:09 +0000 |
| Subject: | #12678 [Com]: gethostbyname returns hostname instead of adresss | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63084@lists.php.net to get a copy of this message | ||
ID: 12678
Comment by: tits-unusual1183 at hotmail dot com
Reported By: bobsledbob at yahoo dot com
Status: Bogus
Bug Type: Network related
Operating System: Linux 2.2.16-22
PHP Version: 4.0.6
New Comment:
<a href=http://1000-free-titsunusu.da.ru>unusual
tits</a>
Previous Comments:
------------------------------------------------------------------------
[2002-06-18 18:42:45] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
------------------------------------------------------------------------
[2001-09-26 11:17:18] bobsledbob at yahoo dot com
Ahh, duplicate of bug 13443. Thanks!
------------------------------------------------------------------------
[2001-09-26 11:14:21] bobsledbob at yahoo dot com
I'm having a hard time understanding how bug 13243 has anything to do
with this bug.
------------------------------------------------------------------------
[2001-09-25 16:47:42] jimw@php.net
duplicate of 13243. (yes, that's a later bug. but it documents the
problem more concisely.)
------------------------------------------------------------------------
[2001-08-10 13:06:52] bobsledbob at yahoo dot com
<?php
$domain = "www.yahoo.com";
echo gethostbyname($domain) . "<br>\n";
print_r (gethostbynamel($domain));
?>
www.yahoo.com
Array ()
As I've thought about this some, I believe I started having problems
with this only after upgrading to 4.06. It may have worked with 4.05
and I know it was working for me with 4.04plx Maybe this has
something to do with my Linux Disto? I'm using RedHat 7.0
Thanks for your thoughts. For now, I'm just hard coding the ip address
I need, so it's not like this is bogging me down.
Adam
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/12678
--
Edit this bug report at http://bugs.php.net/?id=12678&edit=1