The online racing simulator
[PHP SCRIPT] Get Stats for 1 (or more) server(s)
I've seen a few people struggling to find a good PHP script to show the stats for 1 or more servers on their website, so I've built a basic PHP class you can include into your website and its fully customizable, the demo and download can be found below

What is in this script?
Host Status: Online or Offline?
Host Name: Gets the current host name for the server (coloured)
Track Mode: Gets the Track Mode (demo, s1, s2 | Cruise | Laps)
Track Name: Track name
Host Cars: Which cars are allowed
Number Connected: x out of x connections
Users Connected: User names that are connected, linked to lfsworld

Update:
It now uses ajax to run

Update 2:
The script has been optimized to run faster and doesnt take as long to fetch the stats

http://scottishbordersdesign.co.uk/demo/lfs/
-
(gazaweb) DELETED by gazaweb : moved to top post
Might of been better off using LFSWorldSDK for the basis of your program. Although, I admit that I might be bias.

You should also never use error suppression operator (@) as it's very slow and setting error reporting at run time should also be avoided if you're expecting your code to be included in other programs.

FGED GREDG RDFGDR GSFDG