php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #387 gethostbyname() should return a list
Submitted: 1998-05-19 03:11 UTC Modified: 1998-07-30 15:55 UTC
From: explorer-php3 at flame dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0 Release Candidate 4 OS: NetBSD/i386-current
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
30 - 19 = ?
Subscribe to this entry?

 
 [1998-05-19 03:11 UTC] explorer-php3 at flame dot org
gethostbyname() only returns the first IP address found
when searching for a host by name.  It should return a
list of IPs, not just the first one.

It would also be nice to have a way to look up MX records,
and so on, but that is another issue.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-30 15:55 UTC] rasmus
This has been implemented now
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 04:01:30 2024 UTC