A Chalange For All Progrmmers

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > PHP Programming

A Chalange For All Progrmmers

CrazyRob
right guys and girls i have a new chalange for you.

Write a php script that will reboot a server windows or linux platforms. if you think you know how to have a go and post the script below.

Reply

Borghunter
First of all that is illegal if you don't own the server yourself and is not appropriate if anyone should attempt to reboot any web server, as I know, most of the people on this forum use Trap 17 and i'm sure they would not be impressed if someone rebooted their servers.

Reply

Sla6

QUOTE
right guys and girls i have a new chalange for you.

Write a php script that will reboot a server windows or linux platforms. if you think you know how to have a go and post the script below.


Want to make a new virus ?

Reply

xJedix
QUOTE(Sla6 @ Feb 28 2006, 03:50 PM) *

Want to make a new virus ?


Thats a bad idea.... talking about making viruses on a forum such as this....


anways, to get on topic... The only way I can think of, of how to do this would be to use the "exec" function in php. You would have to figure out the executable for shutting down a computer and also know the parameters for shutting down your computer. I used to know these but I can't remember them right now. This would only possibly work with windows, I'm not sure what you would do for linux.

Also, note what borghunter said.... If you decided to try shutting down a server that is not own by yourself, then you will most likely get banned from that place and possibly other consequences.

Reply

Plenoptic
Well, to me it sounds like someone just wants a script and doesn't want to pay for it or whatever. I have truly no idea how to pull this off. I hope you don't plan on using this for any way that isn't legal.

Reply

jlhaslip
I think it best that this topic get closed before it gets out of hand and somebody gets an idea in their head.
Having said that, I think the best (and only) way to re-boot a server is by way using its native control panel.
Any other way and you are inviting trouble.
Topic closed with a reminder that illegal topics are grounds for suspension under the Terms of Service here at the Trap17 Forum and most likely your Hosting Account would be suspended as well ...

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : chalange progrmmers


    Looking for chalange, progrmmers

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for chalange, progrmmers

*MORE FROM TRAP17.COM*
advertisement



A Chalange For All Progrmmers



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE