petlof / liveresults

EmmaClient is a client-server system for publishing liveresults from Orienteering events. It have been used on many major events such as JWOC, WOC, EOC,..
http://liveresultat.orientering.se
GNU Lesser General Public License v3.0
40 stars 24 forks source link

Change to mysqli #39

Closed fredricj closed 6 years ago

fredricj commented 6 years ago

Update the webpage to use the mysqli extension instead of mysql since the latter was been deprecated in PHP 5.5 and subsequently removed in PHP 7.0.

Straightforward porting of the relevant function calls and some deduplication of the connection code in the class Emma. The page code have been mostly tested (not sure if all functions have been called) but neither gprsping, gprspunch or sipunch have been tested but looks correct and static analysis haven't detected anything.

petlof commented 6 years ago

Super! Thanks!