Jump to content

Port's


mikelmao

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.