SA-MP Forums Archive
Server.cfg Edit with PHP - 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: Server.cfg Edit with PHP (/showthread.php?tid=82588)



Server.cfg Edit with PHP - g@k - 19.06.2009

Hi everybody,

i search how to edit a server.cfg with php inclued in a html page , i don't know how to do that
if anyone know how to, please help me =) thanks a lot ^^




Re: Server.cfg Edit with PHP - Serediucr - 19.06.2009

why you want to do that?


Re: Server.cfg Edit with PHP - kaisersouse - 19.06.2009

he's probably working on an admin control panel


Re: Server.cfg Edit with PHP - g@k - 19.06.2009

yes i'm working on my admin panel, and i would like to add this function


Re: Server.cfg Edit with PHP - BSMan - 19.06.2009

use fopen() functions...
im not really good at file editing, but ****** the word "fopen() PHP". it should gie u the answer


Re: Server.cfg Edit with PHP - g@k - 19.06.2009

thx man, but have you an example to use it (i'm on linux)


Re: Server.cfg Edit with PHP - woot - 19.06.2009

If you're doing it externally of the server, you can connect via an ftp connection and fOpen with php - Which is very unsecure

"im not really good at file editing, but ****** the word "fopen() PHP". it should gie u the answer"


Re: Server.cfg Edit with PHP - g@k - 19.06.2009

okay, it's on local .


Re: Server.cfg Edit with PHP - g@k - 19.06.2009

nobody know how to or can help me?

Sorry for double post


Re: Server.cfg Edit with PHP - A12 - 20.06.2009

Is the admin control panel your making set up locally also? or remotely?