[PHP] Server Uptime

Status
Not open for further replies.

Stanz

New Member
Messages
76
Reaction score
0
Points
0
Simple script...
just place the uptime.php to the where you want..
and run it..
you may also rename the file uptime.php to xxx.php
this script checks the current server uptime,
how long it has been online.
this is usefull for some sites.. :biggrin:

ps: you can change the words (f u know php) to you own fit..
i mean template, text, etc..
 

Attachments

  • uptime.zip
    273 bytes · Views: 531

Stanz

New Member
Messages
76
Reaction score
0
Points
0
no,but it displays like this:

This server is up *days *hours *minutes and *seconds

and you can put or include the script anywhere of your site..
 

Tyler

Retired Staff
Messages
8,564
Reaction score
0
Points
0
Thanks, Im using the first one cause its so simple
 

Origin

New Member
Messages
1,082
Reaction score
0
Points
0
Re: Server Uptime

First one, because it's easily included into other scripts
 

Akkarin

New Member
Messages
1,654
Reaction score
0
Points
0
Tested both, prefer the simpler, because it's simple!
Good script thanx!
 

Articz

New Member
Messages
864
Reaction score
0
Points
0
i tried out the first one and its way more simpler no offence Auvee yours was good as well
 

Matthews255

New Member
Messages
826
Reaction score
0
Points
0
Auvee, could i put that script in a php file and use include code to save source size?
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
Both are nice scripts, and some of the functions they use are nice, like the explode()'s, they always catch my eye.. Haha.

Hmm interesting.
 

Leon1

New Member
Messages
212
Reaction score
0
Points
0
Stanz said:
Simple script...
just place the uptime.php to the where you want..
and run it..
you may also rename the file uptime.php to xxx.php
this script checks the current server uptime,
how long it has been online.
this is usefull for some sites.. :biggrin:

ps: you can change the words (f u know php) to you own fit..
i mean template, text, etc..

i want to place this script into my overall footer on my phpbb forum, what code do i need to use to include this file and what files do i need to modify in order for this script to show under my forum footer, can any one please help ..?

Thanks
 

zhizhaqy

New Member
Messages
64
Reaction score
0
Points
0
simple nice and it works .. thank for giving me good script. i have try to find it in a past time ago .. :)
 

SEÑOR

The Guy Everyone Hates
Messages
4,638
Reaction score
0
Points
0
Im gonna use number im no good with php but that seems easy enuff.
 
Status
Not open for further replies.
Top