SA-MP Forums Archive
Writing on websites. - 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)
+--- Thread: Writing on websites. (/showthread.php?tid=414779)



Writing on websites. - Frede - 10.02.2013

I have made a two .txt files on my website:

http://xtreme-stunting.com/server/names.txt
http://xtreme-stunting.com/server/test.txt

i have tried to make some different ways to write in the files but i cant write in them. So please help me. I know it is possible that a server can write in files on a website but idk how. - i found a toturial some weeks ago but i cant find it . I am a bit stuck.


Re: Writing on websites. - Frede - 11.02.2013

Someone most know something - please help me


Re: Writing on websites. - batonsa - 11.02.2013

You must establish a PHP connection between the server and website


Re: Writing on websites. - Frede - 11.02.2013

yeah i know and i did but i am not the best in PHP... i will try but how do i do this

Thanks anyway


Re: Writing on websites. - batonsa - 11.02.2013

Is your server on SQL already, either sqlite, mysql?

If u are, I suggest you start with this tutorial, since it is way too much to explain right here. If you got any questions feel free to PM me


Re: Writing on websites. - batonsa - 11.02.2013

To my mind linking PHP to MySQL database is easier than linking it directly to server scriptfiles folder. If you already are on MySQL, i suggest you link your website with it.

I can help you with it aswell, but then again, I don't know much about doing it the way that ****** suggested.


Re: Writing on websites. - batonsa - 11.02.2013

That's not exactly what i either meant or said. The only reason why i suggested the MySQL variant is i could help him with it, im not trying to start a global issue or discussion here.


Re: Writing on websites. - Frede - 11.02.2013

Thank you both of you. I will try this.
However mysql wasnt the best, i had a trouble with it, but sure i got mysql