sscanf warning: Invalid data length.
#6

Unrelated to your issue, but sanitize your database inputs!
PHP код:
mysql_format(handle_varquerysizeof(query), "INSERT INTO table (someString) VALUES ('%e')"someString); 
The %e specifier only works with mysql_format and escapes strings for you.
Reply


Messages In This Thread
sscanf warning: Invalid data length. - by CoachCarter - 02.09.2016, 08:00
Re: sscanf warning: Invalid data length. - by Stinged - 02.09.2016, 08:25
Re: sscanf warning: Invalid data length. - by CoachCarter - 02.09.2016, 08:31
Re: sscanf warning: Invalid data length. - by CoachCarter - 02.09.2016, 09:50
Re: sscanf warning: Invalid data length. - by TORKQ - 02.09.2016, 10:18
Re: sscanf warning: Invalid data length. - by AndySedeyn - 02.09.2016, 10:21
Re: sscanf warning: Invalid data length. - by CoachCarter - 03.09.2016, 11:06
Re: sscanf warning: Invalid data length. - by Stinged - 03.09.2016, 11:20

Forum Jump:


Users browsing this thread: 3 Guest(s)