mysql_real_escape_string
#9

понял в чем дело.
я использовал так(пример):
PHP код:
enum pInfo
{
    
text[64];
};
new 
PlayerInfo[MAX_PLAYERS][pInfo];
//----------------------------------
mysql_real_escape_string(inputtextPlayerInfo[playerid][text]); 
и исправил проблему, указав макс. длину строки:
PHP код:
mysql_real_escape_string(inputtextPlayerInfo[playerid][text], cH64); 
Reply


Messages In This Thread
mysql_real_escape_string - by CamperGTA - 13.08.2013, 15:13
Re: mysql_real_escape_string - by stabker - 13.08.2013, 15:55
Re: mysql_real_escape_string - by -Stranger- - 13.08.2013, 20:33
Re: mysql_real_escape_string - by NameNone - 13.08.2013, 23:14
Re: mysql_real_escape_string - by Stepashka - 14.08.2013, 05:08
Re: mysql_real_escape_string - by CamperGTA - 14.08.2013, 06:03
Re: mysql_real_escape_string - by James_Braga - 14.08.2013, 06:46
Re: mysql_real_escape_string - by Stepashka - 14.08.2013, 06:50
Re: mysql_real_escape_string - by CamperGTA - 14.08.2013, 06:59
Re: mysql_real_escape_string - by stabker - 14.08.2013, 07:04

Forum Jump:


Users browsing this thread: 2 Guest(s)