Hi everyone, I am currently serving a website from my own computer at home - to the web. I link to this website from another website which is on my ISP's server because my computer is not always on. Does anyone know if there is a script that would be able to show the viewers if my site is "live" or not? Any help is mopst appreciated! Thanks
I would include a script from your computer on the ISP website, then put that in an if statement, so it would be like: if(you can get the script) { // live link print "<a href='...'>Link</a>"; } else { // not live link print "site is down!" } something like that..
A javascript include from your computer that simply writes the link itself would work... Wouldn't even need an if statement...
That sounds great livingearth, but I have no idea how to write javascript. Would you be able to give me an example perhaps? Thanks