Posted by Gernot Frisch on 04/25/06 10:26
>> Hi,
>>
>> I want to make a script that checks if it can "ping" a certain IP
>> (mine) and inform others whether I'm online or not.
>> Can this be done?
>
> yep!
Thank you very much. :/
That's what I found:
<?php
$ip = getenv('REMOTE_ADDR');
$host = gethostbyaddr($ip);
?>
Navigation:
[Reply to this message]
|