i used this script, because i need to know if PC is available... if server gives some error generated in index.html it is good, because on this PC are about 20 virtual sites in apache. if one is down others are in use

and ping goes only to the router... and this PC/server is under 2 routers. big thanx for help to you all