Quote:
Originally Posted by Whosat
...
|
That UTF-8 encoding is already in there. Maybe you have set the browser or your web server incorrectly?
PHP Code:
public ConnectDB()
{
if (SQL_CheckConfig("l4dstats"))
{
new String:Error[256];
db = SQL_Connect("l4dstats", true, Error, sizeof(Error));
if (db == INVALID_HANDLE)
LogError("Failed to connect to database: %s", Error);
else
SendSQLUpdate("SET NAMES 'utf8'");
}
else
LogError("Database.cfg missing 'l4dstats' entry!");
}
About the rest of the stuff you mentioned... Download the attachment and overwrite the older file.
I will not take over the support or the development of this plugin. I just wanted to upload some improvements I sought useful for me atleast. SPeaking of which... I uploaded an improved version of the customized plugin right back
HERE. If you already downloaded the customized plugin, please redownload the new one.
EDIT: uploaded
player.php