SA-MP Forums Archive
Creating a PHP start script for a CentOS VPS. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Creating a PHP start script for a CentOS VPS. (/showthread.php?tid=270103)



Creating a PHP start script for a CentOS VPS. - Vipero - 19.07.2011

Hello! I have a question about PHP scripts and CentOS VPS.

Basically, we've all heard of TCAdmin, GameCP or antCTRL. But how do they all work, I was just wondering what other functions would be included?

<?php

adduser 123
passwd 123
UNIX ***
Retype UNIX ***
mkdir /home/123
chown /home/123
Whatever the command is to install FTP (I've forgotten).
chmod /home/123 Or is it? chmod ./samp03svr
nohup ./samp03svr &
?php>

I know it may not be as simple as that, what other functions are there involved?


Re: Creating a PHP start script for a CentOS VPS. - Famalamalam - 19.07.2011

This is probably not the right place to ask, my friend.


Re: Creating a PHP start script for a CentOS VPS. - Vipero - 19.07.2011

Hmm. I guess your right. Can an admin move this to "Server Support" please?


Re: Creating a PHP start script for a CentOS VPS. - Deskoft - 19.07.2011

Wrong place. Not even in server support, this doesn't go in SA-MP forums.
here


Re: Creating a PHP start script for a CentOS VPS. - Famalamalam - 19.07.2011

This is true, but if it is a question specific to a control panel (on these forums, for example ... the one's you mentioned..) maybe you could ask in their own release topics.


Re: Creating a PHP start script for a CentOS VPS. - Steven82 - 19.07.2011

I'm pretty sure this topic can stay here. Since he's talking about a control panel with SA-MP and stuff. So guess what? It's SA-MP related. It can stay.


Re: Creating a PHP start script for a CentOS VPS. - Famalamalam - 19.07.2011

Calm down Steven .. calm down. It shouldn't be here though ... should be in their own topic.. true? Guess what?? True.


Re: Creating a PHP start script for a CentOS VPS. - Vipero - 19.07.2011

Quote:
Originally Posted by Famalamalam
Посмотреть сообщение
This is true, but if it is a question specific to a control panel (on these forums, for example ... the one's you mentioned..) maybe you could ask in their own release topics.
Well. I may ask Westie. He seems to have a strong knowledge of PHP.


Re: Creating a PHP start script for a CentOS VPS. - Steven82 - 19.07.2011

Quote:
Originally Posted by Famalamalam
Посмотреть сообщение
Calm down Steven .. calm down. It shouldn't be here though ... should be in their own topic.. true? Guess what?? True.
Didn't mean to sound like an ass. Sorry.


Re: Creating a PHP start script for a CentOS VPS. - Famalamalam - 19.07.2011

Quote:
Originally Posted by FC-RP
Посмотреть сообщение
Well. I may ask Westie. He seems to have a strong knowledge of PHP.
Good idea, this is true.


Quote:
Originally Posted by Steven82
Посмотреть сообщение
Didn't mean to sound like an ass. Sorry.
Lol, you didn't