From: Per Jessen on 27 May 2010 03:27 Per Jessen wrote: > AFAICT, gethostbyname() only works for ipv4 addresses, so that one is= > out - dns_get_record seems to be really for dns only, i.e. it does no= t > look at /etc/hosts. Is there a hph function that essentially just > calls getaddrinfo() ? >=20 Wow, lots of answers to that one.=20 Let me rephrase it then - what is the PHP interface to the system resolver when support for IPv6 is required? =20 Again, gethostbyname() only works for IPv4 and dns_get_record is not a resolver interface, but a DNS interface. (AFAICT).=20 =20 --=20 Per Jessen, Z=C3=BCrich (14.9=C2=B0C)
|
Pages: 1 Prev: Google checkout nightmare Next: Re[2]: [PHP] One more time about regexes |