Date: 09/26/01
- Next message: Joao Prado Maia: "Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions"
- Previous message: gordonl <email protected>: "[PHP-DEV] Bug #13454: odbc_execute gives "SQL data type out of range" error for store procedure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 12678
User updated by: bobsledbob <email protected>
Reported By: bobsledbob <email protected>
Old Status: Open
Status: Duplicate
Bug Type: Network related
Operating System: Linux 2.2.16-22
PHP Version: 4.0.6
New Comment:
Ahh, duplicate of bug 13443. Thanks!
Previous Comments:
------------------------------------------------------------------------
[2001-09-26 11:14:21] bobsledbob <email protected>
I'm having a hard time understanding how bug 13243 has anything to do with this bug.
------------------------------------------------------------------------
[2001-09-25 16:47:42] jimw <email protected>
duplicate of 13243. (yes, that's a later bug. but it documents the problem more concisely.)
------------------------------------------------------------------------
[2001-08-10 13:06:52] bobsledbob <email protected>
<?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
------------------------------------------------------------------------
[2001-08-09 21:51:12] sniper <email protected>
Could you please try gethostbynamel() with the same
hostname?
(these both work for me just fine..)
--Jani
------------------------------------------------------------------------
[2001-08-09 16:13:52] bobsledbob <email protected>
> Can you access the internet from a browser?
Yes, I can resolve any hostname using nslookup, host, etc. This machine accesses the internet just fine.
ie. from the command line:
[hydro <email protected> htdocs]$ host calc.intershipper.net
calc.intershipper.net is a nickname for www.intershipper.net
www.intershipper.net has address 216.58.153.11
[hydro <email protected> htdocs]$
but from PHP
<?php
echo gethostbyname ("calc.intershipper.net");
?>
calc.intershipper.net
> Make sure your nameserver's are setup correctly.
To the best of my knowledge, they are.
------------------------------------------------------------------------
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/?id=12678
Edit this bug report at http://bugs.php.net/?id=12678&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Joao Prado Maia: "Re: [PHP-DEV] [RFC] Versioning rules for PHP/Zend/PEAR/Extensions"
- Previous message: gordonl <email protected>: "[PHP-DEV] Bug #13454: odbc_execute gives "SQL data type out of range" error for store procedure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

