Monitor using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nocnet
Forum Newbie
Posts: 1
Joined: Sun Jul 30, 2017 10:50 pm

Monitor using php

Post by nocnet »

Hi,

I'm looking source code for monitor port 80,443 and 22. This small system will put on linux. Now, we using from international system. But when international line got problem we receive a lot of false signal. So decide to develop for internal use only. Anyone knows where i can get?

Thanks.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Monitor using php

Post by requinix »

If you want to write a server that only listens for connections, you can do that with PHP.
If you want to write an HTTP server for ports 80 and 443, and an SSH server for port 22, then you can do that with PHP but it's a really bad idea.
If you want to write something that sniffs traffic on those ports while another service actually uses them, you'll need a kernel driver and you cannot do that with PHP.
Post Reply