Stats on website. - 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: Stats on website. (
/showthread.php?tid=121391)
Stats on website. -
Peep - 16.01.2010
Hi ,
Is it possible to make that the stats are shown on website. If server dont have mysql ?
Re: Stats on website. -
Doppeyy - 16.01.2010
I never found a way to do it without mysql.
But maybey there is i dont know really.
My gues would go out to no .
Reaver~
Re: Stats on website. -
iLinx - 16.01.2010
i rewrote the get and set functions from dini in php, they work alittle differently but have the same idea
might be useful, the thread has reference to how to use it with php and stuff
http://forum.sa-mp.com/index.php?top...6852#msg876852
Re: Stats on website. -
Peep - 16.01.2010
Quote:
Originally Posted by iLinx
|
Problem is that i dont know much of PHP
Re: Stats on website. -
Westie - 16.01.2010
When you mean server stats, what do you mean?
Re: Stats on website. -
Peep - 16.01.2010
Quote:
Originally Posted by /^We(stie|z+[e|a
r)$/ ]
When you mean server stats, what do you mean?
|
levels , money , zhetons , licenses , factions ,jobs and car owner things.
Re: Stats on website. -
Peep - 16.01.2010
Quote:
Originally Posted by Seif_
Код:
<?php
$filename = "test.txt";
$f = fopen ($filename, "r");
while($content = fread ($f, filesize($filename)))
{
echo $content;
}
fclose ($f);
?>
This will read from "test.txt"(in your root folder) and echo everything in it.
|
But , when i host server , and server and website are in different places? what i will do then?
Re: Stats on website. -
SAW-RL - 16.01.2010
I know that this works without mysql too.
Apocalypse RolePlay has an UCP that reads .ini files ect.
Re: Stats on website. -
Peep - 16.01.2010
Quote:
Originally Posted by SamQuest
I know that this works without mysql too.
Apocalypse RolePlay has an UCP that reads .ini files ect.
|
Is that Apocalypse RolePlay is rented server?
Re: Stats on website. -
Peep - 16.01.2010
Quote:
Originally Posted by Seif_
Quote:
Originally Posted by Peep
Quote:
Originally Posted by SamQuest
I know that this works without mysql too.
Apocalypse RolePlay has an UCP that reads .ini files ect.
|
Is that Apocalypse RolePlay is rented server?
|
They're probably hosting their server and website on the same IP, that's why.
|
yea i thinked that too , then i must rent server with website or forget it.