Is there a function in PHP that parses the info in something like SRL Stats.
I know how to get the data, but, how do I parse the data? Can someone give me an example?
Is there a function in PHP that parses the info in something like SRL Stats.
I know how to get the data, but, how do I parse the data? Can someone give me an example?
Formerly known as Cut em2 it
You have to make it yourself, but I'll give you one:
PHP Code:function get_string_between($string, $start, $end){
$string = " ".$string;
$ini = strpos($string,$start);
if ($ini == 0) return "";
$ini += strlen($start);
$len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
I also need help with actually getting the data? I tried using the one Markus suggested on your help thread but it didn't work. Help!
Formerly known as Cut em2 it
Lol - drama:
"You're nobody to tell me what to do!"
/run and hide
cut em2 it, it does work fine for my php code that creates my sig?
There are currently 1 users browsing this thread. (0 members and 1 guests)