Posts: 16
Threads: 4
Joined: Jan 2011
Reputation:
0
Hello I want to add a webpage with everyones stats from my server.
I want to include. Anyway I can do it, any tutorials?
Kills
Deaths
Days alive
Day registered
etc.
Thanks.
~John.
Posts: 1,228
Threads: 133
Joined: Oct 2009
Reputation:
0
There are tutorials but they didn't help me because most of them are wrong or are created by people with little knowledge of php and mysql. So i had to work on mysql system and php myself.
What you need?
Mysql database
Mysql saving/loading system on your server
And php code to load the stats on your website upon user login.
or just search "webstats"
Posts: 129
Threads: 1
Joined: May 2009
Reputation:
0
You don't really need a mysql based system. but is more secure. than use direct acess to scriptfiles.
Posts: 1,758
Threads: 157
Joined: Jan 2008
Reputation:
0
You can easily just load it from the user file with php.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by cj101
You can easily just load it from the user file with php.
|
Easily, and you'll get to meet my pet:
MySQL is the most efficient solution for writing/loading data to/from alternate sources, if you choose files then you'd have to ensure that your server host allowed proper FTP connections (relatively slow) or allowed access to the scriptfiles directory, then you'd need to load a file that retains a lot of unnecessary data to obtain the right information (slow, again) then echo it out.
Posts: 16
Threads: 4
Joined: Jan 2011
Reputation:
0
Anyone have any tutorials please?