Today I found a bug:
When a username has an apostrophe in it, something like "Roland's" or "Xusqui's" the last_visit_x_x.dat file generated has an error when created, as that apostrophe should have been treated as "Xusqui's", and not like "Xusqui's"... I hope you know what I mean...
i.e:
- <?php
- $total_users_today = 46;
- $users_lasthour = 20;
- $guests_today = 19;
- $logged_visible_today = 25;
- $logged_hidden_today = 2;
- $admins_today_list = '<a href="./profile.PHP?mode=viewprofile&u=16"style="font-weight:bold;text-decoration:none;color:#00ff88">Johs Deschain</a>, <a href="./profile.PHP?mode=viewprofile&u=2"style="font-weight:bold;text-decoration:none;color:#00ff88">Roland</a>, <a href="./profile.PHP?mode=viewprofile&u=41"style="font-weight:bold;text-decoration:none;color:#ffffff">Ziebal de Gilead</a> ';
- $mods_today_list = '<a href="./profile.PHP?mode=viewprofile&u=715"style="font-weight:bold;text-decoration:none;color:#ff66ff">bama</a>, <a href="./profile.PHP?mode=viewprofile&u=196"style="font-weight:bold;text-decoration:none;color:#ff0000">sebastian</a>, <a href="./profile.PHP?mode=viewprofile&u=46"style="font-weight:bold;text-decoration:none;color:#ff0000">Thunderclap</a> ';
- $users_today_list = '<a href="./profile.PHP?mode=viewprofile&u=56"style="font-weight:bold;text-decoration:none;color:#2266aa">alberto_p7</a>, <a href="./profile.PHP?mode=viewprofile&u=82"style="font-weight:bold;text-decoration:none;color:#00ff88">alcorze</a>, <a href="./profile.PHP?mode=viewprofile&u=1379">Alucard</a>, <a href="./profile.PHP?mode=viewprofile&u=1483">antonio</a>, <a href="./profile.PHP?mode=viewprofile&u=268">colo</a>, <a href="./profile.PHP?mode=viewprofile&u=1016"style="font-weight:bold;text-decoration:none;color:aqua">Darkcloud</a>, <a href="./profile.PHP?mode=viewprofile&u=238">Finli o' Tego</a>, <a href="./profile.PHP?mode=viewprofile&u=1401">Gunslero</a>, <a href="./profile.PHP?mode=viewprofile&u=988">HeartNeT</a>, <a href="./profile.PHP?mode=viewprofile&u=1161"style="font-weight:bold;text-decoration:none;color:#00ff88">Jake Chambers</a>, <a href="./profile.PHP?mode=viewprofile&u=664">JANU1535</a>, <a href="./profile.PHP?mode=viewprofile&u=213"style="font-weight:bold;text-decoration:none;color:#00ff88">jlezama</a>, <a href="./profile.PHP?mode=viewprofile&u=646">molando</a>, <a href="./profile.PHP?mode=viewprofile&u=206"style="font-weight:bold;text-decoration:none;color:aqua">Nony Shakur</a>, <a href="./profile.PHP?mode=viewprofile&u=193"style="font-weight:bold;text-decoration:none;color:#aaffcc">Predikador</a>, <a href="./profile.PHP?mode=viewprofile&u=903">Raven</a>, <a href="./profile.PHP?mode=viewprofile&u=1417">ukkbar</a>, <a href="./profile.PHP?mode=viewprofile&u=768"style="font-weight:bold;text-decoration:none;color:#ff0000">Urm_At_Awil</a>, <a href="./profile.PHP?mode=viewprofile&u=925"style="font-weight:bold;text-decoration:none;color:#008833">viajerojack123</a> ';
- ?>
In the 9th line of the above code, where it says "(...) u=238">Finli o' Tego</a>, <a (...)" it should say "(...) u=238">Finli o/' Tego</a>, <a (...)"
The main problem of it is that when a user with an apostrophe logges in, the .dat file is generated with an error and the forum main page won't load (forum.php) givin' a "White screen of death".
I'm tired now, but if nobody tries to fix it I will try tomorrow afternoon...
Good night!!