Nemcija Posted December 2, 2005 Posted December 2, 2005 Hi, Its me again with a little question ^^ I have got a server 500 miles away and an other one here. Both of them are always online and i've got the domain. But i don't know whether the Webserver is always running. So I need a script which checks, whether it is active or not. Thanks for your help. MfG. C.M (i hope you understand my english ) [url=www.vergessene-welt.de][/url]
Valuater Posted December 2, 2005 Posted December 2, 2005 maybe this straight from help $var = Ping("www.AutoItScript.com",250) If $var Then; also possible: If @error = 0 Then ... Msgbox(0,"Status","Online, roundtrip was:" & $var) Else Msgbox(0,"Status","An error occured with number: " & @error) EndIf 8)
Nemcija Posted December 2, 2005 Author Posted December 2, 2005 maybe this straight from help $var = Ping("www.AutoItScript.com",250) If $var Then; also possible: If @error = 0 Then ... Msgbox(0,"Status","Online, roundtrip was:" & $var) Else Msgbox(0,"Status","An error occured with number: " & @error) EndIf 8) Thanks, but .. I know that the server is always online but i don't know whether the Webserver is always running [url=www.vergessene-welt.de][/url]
Valuater Posted December 2, 2005 Posted December 2, 2005 the Webserver should have a function/purpose TCP Mail or???? you would need to test the function... i have no idea what it does..accepts...etc 8)
Nemcija Posted December 2, 2005 Author Posted December 2, 2005 the Webserver should have a function/purposeTCPMailor????you would need to test the function... i have no idea what it does..accepts...etc8)webserver (port 80) sends the webpage when it is requestedelse it sends nothing. -> TCP(like every Webserver ) [url=www.vergessene-welt.de][/url]
Valuater Posted December 2, 2005 Posted December 2, 2005 webserver (port 80) sends the webpage when it is requestedelse it sends nothing. -> TCP(like every Webserver )thats funny we have a web server that is for IM/chati guess ours doesnt send a web page, thus it cant be????sorry, i cant help you 8)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now