Stats on website.
#1

Hi ,
Is it possible to make that the stats are shown on website. If server dont have mysql ?
Reply
#2

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~
Reply
#3

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
Reply
#4

Quote:
Originally Posted by iLinx
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
Problem is that i dont know much of PHP
Reply
#5

When you mean server stats, what do you mean?
Reply
#6

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.
Reply
#7

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?
Reply
#8

I know that this works without mysql too.

Apocalypse RolePlay has an UCP that reads .ini files ect.
Reply
#9

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?

Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)