php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1191 nslookup broke in fsockopen on old systems
Submitted: 1999-03-01 01:58 UTC Modified: 1999-10-04 17:29 UTC
From: timothy at ametro dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0 Latest CVS (01/03/1999) OS: linux 2.0.33
Private report: No CVE-ID: None
 [1999-03-01 01:58 UTC] timothy at ametro dot net
Don't know if this has been fixed yet because this is actually cvs as of a couple of nights ago, but this was not a problem in php 3.0.6.

If you run fsockopen on an old slackware linux, the nslookup doesn't work, but it will do the lookup if the name is in the hosts file.  This seems to me like several programs lately have had this problem in that redhat seems to return dns differently than slackware.  Maybe other byte order??? This does not cause a problem on redhat 5.2 system.

Anyways thought you guys might wanna know.  If anyone out there has been running my cybercash stuff and it has been sending weird error stuff back, this is the reason.  New versions of the code call this "unable to contact credit processor"

Timothy

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-20 20:38 UTC] jim at cvs dot php dot net
Is this still a problem?
 [1999-10-04 17:29 UTC] sas at cvs dot php dot net
Please resubmit, if it still happens.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 18:01:33 2024 UTC