WXSIM "EWN-style" for php8

I will pm you the link to a version which I tested with 8.0.8 and 8.1.4
Sadly the file is 499Kb too big to post on the forum.
Please do not share the link as my ftp allowance is not infinite.

edit: 2022-05-03 Attached zip which is now small enough to post.
Thanks to @hcorrin :smiley: which pointed me to remove the wret.jpg from the zip.
This image for new users helps to correctly select all needed items.
i will try to post that image later on.

I tested with 8.0.8 and 8.1.4 using 20 different lastret.txt files.
If you run into problems such as not displaying any data ( only the waiting circle is shown)
==> please run in your browser . . /wxsim-ewn/wxsim/_test.php?wunit=kmh&lang=en&test
This will test the data.php script with all errors displayed.
Numerous warnings occur mostly because you not selected the needed items in wret. Ignore those for now.
What i need is the last fatal error at the bottom.
edit: 2022-05-03 end

The location setting of the wxsim file in config.php line 36 should be set first, f.i. for a windows server the full path should be similar to this

$path_to_lastret = 'C:\xampp\htdocs\lastret.txt';

For a linux server

$path_to_lastret = "/Users/xyz/httpdocs/lastret.txt";

Leave line 23 as is for now, it displays the php version after the stations name.
Succes,

Wim


wxsim-ewn.zip (181 KB)