Page 1 of 1

realtimeLogParser

Posted: Wed 31 Oct 2018 10:26 am
by dazza1223
hi i trying to get realtimeLogParser.php to creat the log file but all im geting is that a error

PHP Parse error: syntax error, unexpected '.=' (T_CONCAT_EQUAL) in /home/pi/usb/website/realtimeLogParser.php on line 153


realtimeLogParser.php is in the website root

and the realtime.txt is in the root of the site


$SITE['version'] = "2.0";
$SITE['home'] = "/home/pi/usb/website";
$SITE['datafile'] = "realtime.log";
$SITE['source'] = "realtime.txt";


am i missing something

http://www.davisworthing.co.uk/realtimeCumulus.htm