NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming > CODE
Reload this Page the second version to my cPanel status script.

CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here.

Advanced Search
7 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 07-18-2006, 12:59 PM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer

the second version to my cPanel status script.


Well almost 2 years back now I posted this which was my first version of the of script.

I have rebuilt it again, the new version is availble on my website here:

http://undefinedfunction.com/index.p...status_script/

Feel free to leave a comment my website and give it ago!

hope it helps
adam_uk is offline  
Old 07-18-2006, 01:23 PM   #2 (permalink)
If only you knew...
 
maximum's Avatar
Join Date: Oct 2005
Location: Inside your head...
Posts: 990
maximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond repute
 


Child Abuse Special Olympics Save a Life Baby Health Autism
nice job
__________________
--- The greatest truths ever told, and the greatest lies ever told, all consist of exactly the same three words:
"I LOVE YOU"
--- The best say little, only say what is important.....then they shut up and sit down.
maximum is offline  
Old 07-18-2006, 02:00 PM   #3 (permalink)
Tech Support
Join Date: Mar 2005
Posts: 4,944
Eric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatnessEric Has achieved greatness
 

Member of the Month
MOTM September 2005
Save a Life Child Abuse 9/11/01 :: Never Forget Baby Health Marrow Donor Program AIDS/HIV Breast Cancer Animal Rescue Cystic Fibrosis Ethan Allen Fund Animal Cruelty Ethan Allen Fund Ethan Allen Fund Baby Health Cancer Alzheimer's Protect Our Planet Cancer Survivorship SIDS Child Abuse Diabetes Protect Our Planet Multiple Sclerosis Autism Adoption Special Olympics
Nice
Eric is offline  
Old 07-20-2006, 03:09 PM   #4 (permalink)
NP Maniacâ„¢
 
Phoenix's Avatar
Join Date: Apr 2004
Location: Nottingham, UK
Posts: 820
Phoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to beholdPhoenix is a splendid one to behold
 




Very nice script .
__________________
PHP/MySQL Development offered: PM me for a quote.
47ideas.com - my freelancing portfolio.
Phoenix is offline  
Old 07-21-2006, 01:28 PM   #5 (permalink)
NamePros Member
Join Date: Oct 2005
Posts: 173
brianmn is on a distinguished road
 



very nice script, i had to make modifications to it in order to get it to display the server uptime and server load. But other than that it was a nice script.

It would be nice if you added memory usage and stuff too (i tried adding it on my own and had some issues)
brianmn is offline  
Old 07-22-2006, 07:24 AM THREAD STARTER               #6 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
I could do, ill have to make a note of it and take a look at a later date. thanks for the suggestion.
adam_uk is offline  
Old 07-22-2006, 09:09 AM   #7 (permalink)
NamePros Regular
Join Date: May 2006
Location: London, UK
Posts: 779
vincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to beholdvincenzo is a splendid one to behold
 



Good job.
Another request would be to show multiple servers?

- Vince
vincenzo is offline  
Old 07-22-2006, 11:18 AM THREAD STARTER               #8 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
the only bit that wouldnt be possible with that is the uptime / load as they actually system functions on the system.
adam_uk is offline  
Old 07-23-2006, 07:23 AM   #9 (permalink)
If only you knew...
 
maximum's Avatar
Join Date: Oct 2005
Location: Inside your head...
Posts: 990
maximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond reputemaximum has a reputation beyond repute
 


Child Abuse Special Olympics Save a Life Baby Health Autism
Originally Posted by adam_uk
the only bit that wouldnt be possible with that is the uptime / load as they actually system functions on the system.
Callable from a "fake flat-file" as read variables, when the flat-file is infact a PHP script on the remote server dynamically reading the values and putting them out as a flat-file to be read by the calling script? Would be a good idea to do, if you are a host, and want one live page to show uptime/load for all your various servers at once; especially, if they are not on a rack system that records this for each already. Basically a readfile() (or simular) to a PHP script on each that just puts out the values for the individual servers the pulled files are on.
__________________
--- The greatest truths ever told, and the greatest lies ever told, all consist of exactly the same three words:
"I LOVE YOU"
--- The best say little, only say what is important.....then they shut up and sit down.
maximum is offline  
Old 07-23-2006, 07:27 AM   #10 (permalink)
Senior Member
 
RickM's Avatar
Join Date: Sep 2005
Location: Herts, UK
Posts: 3,806
RickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant future
 


Cancer Survivorship Save The Children Save The Children Cancer Animal Cruelty Child Abuse Cancer Survivorship 9/11/01 :: Never Forget Animal Cruelty Child Abuse Animal Rescue Animal Cruelty Protect Our Planet Protect Our Planet Protect Our Planet Animal Cruelty Save a Life
Possible but would take a bit more management.
__________________
Disney World Fans - Mobile Apps for your WDW Vacation!
WSDReg - Affordable Domain Registration. Serving NP members since 2006!

Hotel Site Script - 15% Discount for NP members with code 'NPROS'
RickM is offline  
Old 07-26-2006, 05:51 PM   #11 (permalink)
NamePros Member
Join Date: Oct 2005
Posts: 173
brianmn is on a distinguished road
 



I would be willing to help you with making this script a little better.

Particularly your server load part. As I did some changes to that so that the server load can be obtained a number of ways.
brianmn is offline  
Old 07-26-2006, 05:59 PM   #12 (permalink)
Account Closed
 
Snurf's Avatar
Join Date: Apr 2006
Location: Minneapolis
Posts: 1,042
Snurf has much to be proud ofSnurf has much to be proud ofSnurf has much to be proud ofSnurf has much to be proud ofSnurf has much to be proud ofSnurf has much to be proud ofSnurf has much to be proud ofSnurf has much to be proud ofSnurf has much to be proud of
 


Child Abuse Cancer AIDS/HIV
I love the script! It is running at http://somethingsick.com
Snurf is offline  
Old 07-27-2006, 01:48 AM   #13 (permalink)
Senior Member
 
RickM's Avatar
Join Date: Sep 2005
Location: Herts, UK
Posts: 3,806
RickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant futureRickM has a brilliant future
 


Cancer Survivorship Save The Children Save The Children Cancer Animal Cruelty Child Abuse Cancer Survivorship 9/11/01 :: Never Forget Animal Cruelty Child Abuse Animal Rescue Animal Cruelty Protect Our Planet Protect Our Planet Protect Our Planet Animal Cruelty Save a Life
Wow, your loads are a bit high there Snurf...may want to look into that.
__________________
Disney World Fans - Mobile Apps for your WDW Vacation!
WSDReg - Affordable Domain Registration. Serving NP members since 2006!

Hotel Site Script - 15% Discount for NP members with code 'NPROS'
RickM is offline  
Old 07-28-2006, 02:03 PM   #14 (permalink)
NamePros Member
Join Date: Oct 2005
Posts: 173
brianmn is on a distinguished road
 



Well as I have already said, i like the script as well.

But again I think some additional code should be placed into the script in order for it to work on more servers. (mine didn't work on its own due to php functions be disabled for security reasons).
brianmn is offline  
Old 07-31-2006, 05:45 AM THREAD STARTER               #15 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
I can understand where your coming from, My original target meant that I need to keep the script and simple to understand for our less experenced members understand and customise as they wish.

Adding other functions/if statements etc will only confuse the matter.

Feel free to post hte modifications you made either here or on my blog though incase people run into similar problems to what you did.
adam_uk is offline  
Old 09-08-2006, 11:47 AM   #16 (permalink)
JFS
NamePros Regular
 
JFS's Avatar
Join Date: Oct 2005
Location: Portugal
Posts: 886
JFS has much to be proud ofJFS has much to be proud ofJFS has much to be proud ofJFS has much to be proud ofJFS has much to be proud ofJFS has much to be proud ofJFS has much to be proud ofJFS has much to be proud ofJFS has much to be proud of
 



nice script
thanks
__________________
João Fernandes Silva
Free Resources - Image Hosting - Allergy Info
Hosting - NP-Hosting.com - in beta, accepting orders
JFS is offline  
Old 10-27-2006, 12:53 PM   #17 (permalink)
BlahBlahBlah...
 
navjotjsingh's Avatar
Join Date: Oct 2005
Location: India
Posts: 1,947
navjotjsingh has much to be proud ofnavjotjsingh has much to be proud ofnavjotjsingh has much to be proud ofnavjotjsingh has much to be proud ofnavjotjsingh has much to be proud ofnavjotjsingh has much to be proud ofnavjotjsingh has much to be proud ofnavjotjsingh has much to be proud of
 



Marrow Donor Program
Excellent Script thanks very much...running successfully at http://www.exguides.org/servertest/
navjotjsingh is offline  
Old 10-27-2006, 02:46 PM   #18 (permalink)
NamePros Regular
Join Date: Sep 2006
Location: Nottingham, England.
Posts: 708
Millar has a spectacular aura aboutMillar has a spectacular aura about
 



Originally Posted by navjotjsingh
Excellent Script thanks very much...running successfully at http://www.exguides.org/servertest/
Looks like it works well, nice job on the script .
__________________
[CENTER]Standard Warfare: modern browser-based game
Millar is offline  
Old 10-28-2006, 12:18 PM   #19 (permalink)
Joe
Senior Member
Join Date: Oct 2005
Location: Kent ~ U.K.
Posts: 3,209
Joe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud ofJoe has much to be proud of
 


Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
very nice!
liking it alot
hehe

Joe
__________________
Myself and "JackHeskett" are no longer associated with FusedHosting.net. Please pipe all PMs to admin [at] fusedhosting.net.
Joe is offline  
Old 12-16-2006, 05:09 PM   #20 (permalink)
Account Suspended
 
Alex.'s Avatar
Join Date: Nov 2006
Location: Uk
Posts: 601
Alex. is on a distinguished road
 


Ethan Allen Fund Third World Education
is there a way to use this with DA?
Alex. is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:51 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger