Re: gethostbyname
| From: | Sascha Schumann | Date: | Wed, 03 Mar 1999 00:01:46 +0000 |
| Subject: | Re: gethostbyname | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4447@lists.php.net to get a copy of this message | ||
On Tue, Mar 02, 1999 at 05:50:02PM -0600, Timothy Whitfield wrote:
> >
> > main(int argc, char **argv) { printf("looking up %s - result: %s\n", argv[1],
> > gethostbyname(argv[1]) ? "ok" : "bad"); }
>
> This works with all names even ones not in the hosts file.
> Now I am really confused.
Argh. Did you link another resolver to php3? Like "-L/usr/local/bind/lib
-lresolv" or sth like that.
--
Regards,
Sascha Schumann |
Consultant | finger sas@schell.de
| for PGP public key
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net