The online racing simulator
lapper time on web page
(4 posts, started )
#1 - Nanex
lapper time on web page
Good morning all,

I need help, I want to get the lapper time from my server on a web page for my league, my skills in development are not crazy, do you know if something already exists?

thanks in advance
I don't know about any existing code, but I do know that it's possible to send data from Lapper to a website and even to send information back.
Quote from Yisc[NL :;1951728"]I don't know about any existing code, but I do know that it's possible to send data from Lapper to a website and even to send information back.

sorry for bumping this old thread again Frown can you teach me how to do it?
It's possible to do that using the http function of Lapper.
I have this in one of my scripts:


http("http://[REMOVED URL]/test_pwd_lfs.php?servername=".$server_name_schedule."&date=".$date_storage."&password=".$pwd_storage);

This will send data from Lapper to the mentioned PHP file on a webserver.
Retrieving the data by the PHP-file looks like this:


<?php 
### Get data send through LFS Lapper ###
$servername$_GET['servername'];
$race_date$_GET['date'];
$password$_GET['password'];
### End ###
?>

Then you can do what ever you want with it.

In return you can make PHP do something in Lapper as well, see this example:


<?php 
echo "cmdLFS(\"/msg ^1WARNING: ^7You are using a proxy!\");";
?>

This will send a message within Lapper, but you can also make buttons popup or be closed or what ever you like.
The possibilities are nearly endless.

lapper time on web page
(4 posts, started )
FGED GREDG RDFGDR GSFDG