Web Hosting Talk







View Full Version : Network availability script?


topwiz
01-29-2002, 11:45 PM
Similar to http://www.impacthosting.com/stats/uptime.htm


Where can I get it?

Vortech
01-30-2002, 01:38 AM
I like this one much better as far as the look goes then the one in this post http://webhostingtalk.com/showthread.php?threadid=33254

If any on has this one or where to get it would be cool..

topwiz
01-30-2002, 04:51 AM
The http://www.impacthosting.com/stats/uptime.htm script is a fake! The data is hard coded to the page. Clever scam :eek:

311
01-30-2002, 08:10 AM
what do you mean by that?

priyadi
01-30-2002, 12:42 PM
Originally posted by topwiz
The http://www.impacthosting.com/stats/uptime.htm script is a fake! The data is hard coded to the page. Clever scam :eek:

How could you find out about that? Or, are you a client of this host?

NicoV
01-30-2002, 02:09 PM
What on earth makes you think that?

they could have a php script (or any language) running as a cronjob every 15 minutes which checks if the servers are up. the script could then create an html page (the one you see) with the stats on it.

think before you call something a scam

BrianF
01-30-2002, 03:15 PM
Wow, I didn't know you could see that!

Let me know once you can find out of a page is generated by php, shoot me a pm right away!
:D :D :D

topwiz
01-30-2002, 04:38 PM
Please look at the page's html, the uptime stats and etc is hard coded i.e. not generated from any script!

BrianF
01-30-2002, 05:10 PM
Do you know what php can do? Php can generate an html file through a cron or anytime it is executed. Don't accuse someone of making false statements because you know the facts yourself.

BrianF
01-30-2002, 05:10 PM
By the way, look at any other page's html. Can you see php, cgi, ssl code from there?

Brian

Marty
01-31-2002, 10:18 AM
Originally posted by topwiz
Please look at the page's html, the uptime stats and etc is hard coded i.e. not generated from any script!

topwiz,

I can write a php script that can poll all services and check status and have it write all the results to an html file. I can set up a cron to execute that php script every 5 minutes. What this means is that the user will only see an html page. But if they wait 5 minutes it won't be the same page. Point being that the data within the page may appear static, but the entire html page is being generated dynamically every 5 minutes. Just because it is an html page does not make it fake.

iamdave
02-02-2002, 03:49 AM

Chicken
02-02-2002, 05:16 PM
topwiz, if you want to see and practice an easy example of a dynamically built page, try a SSI: http://www.bruce-hamilton.com/tutorials/ssi.shtml

Note: This isn't as dynamic as the server status page, nor (for another example) this actual forum page you are viewing, but it gives you the basic idea.

If this is a bad example (in anyone's opinion), feel free to list something else that explains it better.

cperciva
02-02-2002, 05:27 PM
WebHostingTalk is a fake! View the page source and you'll see that everything's hard-coded into the HTML!
Clever scam:eek:

Varun Shoor
02-03-2002, 04:09 AM
Originally posted by cperciva
WebHostingTalk is a fake! View the page source and you'll see that everything's hard-coded into the HTML!
Clever scam:eek:

oh yeah, and whenever you post a topic, Chicken is emailed with the topic contents and he then updates all the HTML pages manually :stickout:

Skeptical
02-03-2002, 04:15 AM
Originally posted by Varun Shoor


oh yeah, and whenever you post a topic, Chicken is emailed with the topic contents and he then updates all the HTML pages manually :stickout:

Incorrect! Chicken has so much time on his hands he hard-codes every single possible response. Once you post he just pulls out his psychic copy for everyone to see.

Chicken
02-03-2002, 02:19 PM
Originally posted by Varun Shoor
oh yeah, and whenever you post a topic, Chicken is emailed with the topic contents and he then updates all the HTML pages manually :stickout:
Heh, now that's a good one. As you can see, I'm very quick and yes, this is how it works ;)