Originally posted by laserlight
Use system() or exec() with say, ping?
Yeah, but I need to know the IP of the server, Ping doesn't output that does it?
Reason being that the script can be run on 2 servers, so that it can setup the paths correctly it needs to know which machine its on, the only way of doing that, that I can see is to detect the IP address of the server.
Thanks LaserLight, for your suggestion though, please keep 'em coming! 🙂
Regards
Steve Childs.