Server Panel (Start, Stop and Restart)
Forum rules
- Ask questions about or share code from languages other than Source Engine scripting.
- Start new topic titles with the code language in brackets (i.e. [C#], [C++], [PHP], etc.)
- Ask questions about or share code from languages other than Source Engine scripting.
- Start new topic titles with the code language in brackets (i.e. [C#], [C++], [PHP], etc.)
Server Panel (Start, Stop and Restart)
Hello,
I'm hosting a CS:S server from my house and sometimes when I have to restart it I have to do this manually or from teamviewer. I hate doing that all the time so I was wondering if it was possible to make a server panel which I can Start, Stop and Restart the server from my website. I tried to find out how I do this by searching on google, but everything was for linux.
I run my CS:S server from Windows XP and the webserver is linux and not hosted by me.
sry for bad grammar, i'm using a very laggy phone.
I'm hosting a CS:S server from my house and sometimes when I have to restart it I have to do this manually or from teamviewer. I hate doing that all the time so I was wondering if it was possible to make a server panel which I can Start, Stop and Restart the server from my website. I tried to find out how I do this by searching on google, but everything was for linux.
I run my CS:S server from Windows XP and the webserver is linux and not hosted by me.
sry for bad grammar, i'm using a very laggy phone.
Re: Server Panel (Start, Stop and Restart)
Uuseeeeeeeeeeeeeeee web servarrrrrrrrrrrrr with PHHHHHPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP and MAKEEEEEEEEEE
WEB PAGEEEEEEEEEEEEEEE
that kills processsssssssssssssssssssssssssssssssssssssss / restartssssssssssss ittttttttttttttttttttttttttttttttttttttt with a loginnnnnnnnnnnnnnnnnnnnnnnnnn
WEB PAGEEEEEEEEEEEEEEE
that kills processsssssssssssssssssssssssssssssssssssssss / restartssssssssssss ittttttttttttttttttttttttttttttttttttttt with a loginnnnnnnnnnnnnnnnnnnnnnnnnn
Unkown wrote: Life’s too short to worry about the little things.
Albert Einstein wrote: You do not really understand something unless you can explain it to your grandmother.
Re: Server Panel (Start, Stop and Restart)
yes php is needed. "exec" command is helpful.
Re: Server Panel (Start, Stop and Restart)
PHP is already working on webserver
- killman2639
- Former Server Admin
- Posts: 292
- Joined: Mon Aug 23, 2010 8:41 pm
Re: Server Panel (Start, Stop and Restart)
The Hax: http://php.net/manual/en/function.exec.php. Might help... http://www.php.net/manual/en/function.system.php
Hi, I'm Reloaded. :)
Code: Select all
[GR|CMX] Reelawded | Reloaded : hi, im black
[GR|CMX] Reelawded | Reloaded : shit
Disconnect: being black.
Disconnect: being black.
Re: Server Panel (Start, Stop and Restart)
wont work well since you need webserver and game server on same computer. as far as I know since Exec uses the computers directory and only files on itJack wrote:PHP is already working on webserver
Unkown wrote: Life’s too short to worry about the little things.
Albert Einstein wrote: You do not really understand something unless you can explain it to your grandmother.
Re: Server Panel (Start, Stop and Restart)
Setup a webserver on that PC just for that one page.Blake wrote:wont work well since you need webserver and game server on same computer. as far as I know since Exec uses the computers directory and only files on itJack wrote:PHP is already working on webserver
Re: Server Panel (Start, Stop and Restart)
Hes to lazy... and why would he pay for a webserver if he can host one hur dur.. (idk why he doesn't maybuuuuuuuuueeeeeee he new?)ant_8490 wrote:Setup a webserver on that PC just for that one page.Blake wrote:wont work well since you need webserver and game server on same computer. as far as I know since Exec uses the computers directory and only files on itJack wrote:PHP is already working on webserver
Unkown wrote: Life’s too short to worry about the little things.
Albert Einstein wrote: You do not really understand something unless you can explain it to your grandmother.
Re: Server Panel (Start, Stop and Restart)
Blake wrote:Hes to lazy... and why would he pay for a webserver if he can host one hur dur.. (idk why he doesn't maybuuuuuuuuueeeeeee he new?)
new? lol and no. I'm not paying for the Webserver. A friend did then I got full ftp access.
- killman2639
- Former Server Admin
- Posts: 292
- Joined: Mon Aug 23, 2010 8:41 pm
Re: Server Panel (Start, Stop and Restart)
WAMP or XAMPP maybe? Those are free and good.Jack wrote:Blake wrote:Hes to lazy... and why would he pay for a webserver if he can host one hur dur.. (idk why he doesn't maybuuuuuuuuueeeeeee he new?)
new? lol and no. I'm not paying for the Webserver. A friend did then I got full ftp access.
Hi, I'm Reloaded. :)
Code: Select all
[GR|CMX] Reelawded | Reloaded : hi, im black
[GR|CMX] Reelawded | Reloaded : shit
Disconnect: being black.
Disconnect: being black.
Re: Server Panel (Start, Stop and Restart)
Some ppl may need both, a paid website and a home site. For example, a small home site, maybe not even a domain name for it, just to control the server. And a real website for your community. Like if you internet upload speed is terrible, then your website would not be useable for everyone, but would be enough for only the owner to maintain the server.
Re: Server Panel (Start, Stop and Restart)
k, solved.
Re: Server Panel (Start, Stop and Restart)
Not really solved... Could anyone give me a php example of the restarting thing?
Btw, Website is working :=)
Btw, Website is working :=)
Re: Server Panel (Start, Stop and Restart)
Really? look up command line execution in php.Jack wrote:Not really solved... Could anyone give me a php example of the restarting thing?
Btw, Website is working :=)
Unkown wrote: Life’s too short to worry about the little things.
Albert Einstein wrote: You do not really understand something unless you can explain it to your grandmother.