This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Uptime/Load Avr. Throw WebPage For The Host Box For Bot

Old posts that have not been replied to for several years.
Locked
G
Guest

Post by Guest »

hi any one can tell me how to make the uptime and load avr. and date for the box posted into the website? like
7:11pm up 8 days, 4:05, 1 user, load average: 0.80, 1.10, 1.90

into page on website?
t
tonic

Post by tonic »

Write a perl script and run it in your html using SSI (like i do on http://www.freestylin.net) or use PHP and just include something like <? echo exec(uptime); ?> in your coding. Those are the simplest methods i can think of at this point.
G
Guest

Post by Guest »

ok thankx for the idea. but the problem i dont know how to do this a perl script and run it in your html using SSI, do u have any code i can change in it and add it? coz ready i didnt find how to do this. :smile:

thankx
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Too be honest, this is all pretty basic stuff, compared to Tcl and eggdrop. Try doing some searches, and visit sites like hotscripts.com and you might find what you need and more.
t
tc666248

Post by tc666248 »

ppslim

Do you have any idea above idea but use for bot ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

HMM - I thought this was a webscript, not a bot script?

Make ya mind up
Locked