ID:               30270
 Updated by:       [EMAIL PROTECTED]
 Reported By:      trustpunk at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Windows 98
 PHP Version:      4.3.9
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

It's either a bug in win98 or some configuration issue, not bug in PHP.


Previous Comments:
------------------------------------------------------------------------

[2004-09-29 09:13:19] trustpunk at hotmail dot com

I want someone to test both codes on a Windows 98 and tell
me if this processes correctly like it did on my Windows XP.

------------------------------------------------------------------------

[2004-09-29 08:50:30] trustpunk at hotmail dot com

Description:
------------
I have been testing this script thAT I recently developed 
to search for an ISP/Hostname on my windows XP but when I
tested it on my actual server which is a Win98 , it didn't
want to read any hostnames from a domain or IP Address.

Im just wondering , is this not compatible with Windows 98
because I don't understand why it works on WinXP with the
same exact PHP version which is 4.3.9. I did do a search.



Reproduce code:
---------------
01. IP Address: Example

<?php 
$ipaddr = "68.47.121.23";          //IP Address Entered
$host   = gethostbyaddr($ipaddr); //IP To Hostname
echo "Your Hostname: $host";
?>


02. Domain Address: Example

<?php
$domain = "www.trustabyss.com";    //Domain Entered
$getip  = gethostbyname($domain); //changes to IP
$host   = gethostbyaddr($getip); //IP To Hostname
echo "Your Hostname: $host";
?>

Expected result:
----------------
The first example should turn a IP Address into a hostname.
Now I understand that not all IP's have hostnames but this
IP Address does. When I view this on my WinXP it shows just
perfectly but if im viewing this on my Win98 , it shows my
local hostname only. Same goes for the second example.

Note: This is a remote IP Address so their is no reason for
it to show my local hostname , this is driving me mad. :(



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30270&edit=1

Reply via email to