[prev in list] [next in list] [prev in thread] [next in thread]
List: php-general
Subject: [PHP] Bizarre gethostbyname() problem
From: Brad Hubbard <brad () congosystems ! com>
Date: 2003-03-08 3:24:36
[Download RAW message or body]
If I run the following code from the command line ("php -q socktest.php") it
works fine. If I try to run it through a browser gethostbyname fails (prints
unchanged host name).
<?php print gethostbyname( 'www.msn.com' ); ?>
What gives?
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic