PDA

View Full Version : Server status


wap3
06-22-2003, 05:50 PM
Hi guys,

I was just wondering how hard would it be to create a server status script, which would check things such as ftp http and pop3 etc

Has anybody ever made one or got ay tutorial links ??

thanks

:thumbsup:

chinni
06-22-2003, 06:10 PM
Is that on a linux based or for windows??

wap3
06-22-2003, 06:25 PM
Hi chinni,


It will be on a linux server.

I am guessing you use sockets ? Is that right. I could do with a tutorial or an example if anyone has one.

:thumbsup:

chinni
06-22-2003, 07:06 PM
well, I have'nt done anythings with sockets so far.
I also have a task to do using socket programming.

Anyways check out this thread (http://forums.devshed.com/t56898/s.html)

Nightfire
06-23-2003, 12:23 AM
could always take one from http://www.hotscripts.com and take it apart to see how it woks

whackaxe
06-23-2003, 10:46 AM
basicly your going to have to use fsockopen() to see if you can get a connection to the server. check out the PHP manual for info on this

wap3
06-23-2003, 03:30 PM
Hey guys,

Thanks for the replies.

Since starting this thread I have created a script which checks the status of lots of things including:

pop3, smtp, http, https, cpanel, mysql, ftp etc

So its all sorted now.

:thumbsup: