The online racing simulator
Searching in All forums
(766 results)
niall09
S2 licensed
Hi, im having a little problem. I'm new to php and the pubstat system, so my code probably needs a little touch up.

Ok, when I upload my page to my server, it won't show if i'm offline/online etc. However, on my WAMP server, it all works fine and displays the way i want it to.


<?php 
php
echo "<p>Niall's Online Status:</p>";
if( 
$str=file_get_contents'http://www.lfsworld.net/pubstat/get_stat2.php?version=1.4&idk=<ident-key>&action=pst&racer=niall09'))
        
    if(
$str[66] == "0")
        echo 
"<p><span class='off'>Offline</span></p>";
        
    if(
$str[66] == "1")
        echo 
"<p><span class='spec'>Spectating</span></p>";
        
    if(
$str[66] == "2")
        echo 
"<p><span class='pit'>in the pits</span></p>";
        
    if(
$str[66] == "3")
        echo 
"<p><span class='race'>Racing</span></p>";
?>

Any help would be appreciated
niall09
S2 licensed
Quote from S14 DRIFT :Hmm.

Ok well, anyway. When is Bush going to be stepping down, and Obama going into office? Or has that already happened?

Jan 20th.
niall09
S2 licensed
Irelands very own Willie Stroker

niall09
S2 licensed
Gratz mate

Might pop up next year to see 'em in action
niall09
S2 licensed
niall09
S2 licensed
He's the guy who wrote Jurrasic Park. Died aged 66 from Cancer.
niall09
S2 licensed
Quote from notanillusion :of Natural Causes, That Is.

/tinfoil Hat

^^

Obama for me, I wouldn't like Palin in control for a minute (if McCain is to die early)
niall09
S2 licensed
^^ Saw that last night. Good film imo. I think Craig has said that they're not continuing it on.

Bourne Supremacy, i watched it the other night. The Bourne films have got to be one of the best films going. Epic stuff, such intelligent and high paced movies.

I saw The Bucket List too. The story is a bit moving, but is pretty funny.
niall09
S2 licensed
Gratz ^^

True force to be reckoned with
niall09
S2 licensed
Congratz!!
niall09
S2 licensed
Quote from dougie-lampkin :
Mario Rosenstock - He'd probably count as about 30 people, due to his line of work. Can't not invite him though :shy

Hah, what a hero
niall09
S2 licensed
Quote from S14 DRIFT :Congratulations guys, you've turned this thread into a playground for the imature idiots among us.

Seriously, good going.

Are you not going to play? Kinda suits tbh..
niall09
S2 licensed
Quote from arco :Tracker back up when?

never.
niall09
S2 licensed


^^ The 2 of them is all I'd want
niall09
S2 licensed
Mini au rouge corner at AS4/7?
niall09
S2 licensed
Last edited by niall09, .
niall09
S2 licensed
Quote from Crashgate3 :Why not Apple?

Because of iTunes...!
niall09
S2 licensed
Dr Joyce or Molloy?

You gonna be in tomorrow?
niall09
S2 licensed
Quote from dj-fluxsa :...

Hah, that's what you get for faking the day off And using Limewire..
niall09
S2 licensed
Quote from S14 DRIFT :Btw Tristan, video refuses to play for me.

Must be a problem at your end, try downloading it again.
niall09
S2 licensed
Quote from sgt.flippy :

If you look closely enough, you might just be able to see a hummer in the background.




niall09
S2 licensed
tonix made it.

Maybe ask him nicely
niall09
S2 licensed
I nearly feel embarrassed when I try to express myself, it's pretty pathetic really.
FGED GREDG RDFGDR GSFDG