mikelmao Posted November 18, 2009 Share Posted November 18, 2009 Hey, I need to make/download a program wich uses an open port. So when i do $fp = @fsockopen($ip, $port, $errno, $errstr, 1); if ($fp) { echo "<b style='color: green'>Online</b>"; } else { echo "<b style='color: red'>Offline</b>"; } it shows onlne. How do i do this? does anyone have a script or a program for this? thanks Link to comment https://forums.phpfreaks.com/topic/181991-ports/ Share on other sites More sharing options...
Bricktop Posted November 18, 2009 Share Posted November 18, 2009 Shameful self-promotion. I have a script which does exactly that, and it's only $3! Click Link to comment https://forums.phpfreaks.com/topic/181991-ports/#findComment-960002 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.