insrtsnhere13 Posted March 18, 2006 Share Posted March 18, 2006 I have a friend running a ventrilo voice chat server on a linux fedora core 4 system. What I need to do is a have php check the status of the computer running the server. Basically, is the computer on or not. If anyone knows how to do this, please post. Thnaks a bunch Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 18, 2006 Share Posted March 18, 2006 Read this tipe [a href=\"http://www.phpit.net/faq/determining-if-a-pc-is-online/\" target=\"_blank\"]here[/a]. I would recommend the secound code snippet for checking whether a server/computer is online or not. Quote Link to comment Share on other sites More sharing options...
insrtsnhere13 Posted March 18, 2006 Author Share Posted March 18, 2006 thanks for your reply. that seems like its exactly what i need. I will deffinately try that out and get back to you later on today. thank! Quote Link to comment Share on other sites More sharing options...
insrtsnhere13 Posted March 18, 2006 Author Share Posted March 18, 2006 i tried this out a second ago and i changed the ip to my current ip adress as well as the port to one that i know is open on my router. windows firewall is disabled on my computer. yet it comes back as not being online.. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted March 18, 2006 Share Posted March 18, 2006 try port 80 or 8080 it should work. Also your routers firewall might be blocking the ping so try your routers ip address instead. Quote Link to comment Share on other sites More sharing options...
insrtsnhere13 Posted March 18, 2006 Author Share Posted March 18, 2006 no quite sure what you mean by try my routers ip address. im not hosting my own webserver so i belive that i need to use my exact ip adressalright, i tried port 80 and 8080 and it did not work Quote Link to comment Share on other sites More sharing options...
insrtsnhere13 Posted March 19, 2006 Author Share Posted March 19, 2006 anyone else? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.