[Ajuda] SSCANF Warning
#1

Alguйm sabe resolver?

PHP код:
sscanf warningStrings without a length are deprecatedplease add a destination size
Reply
#2

can you show the code, please?
Reply
#3

Quote:
Originally Posted by webby
Посмотреть сообщение
can you show the code, please?
I do not know which code is giving this error.
Reply
#4

Verifique as strings dos seus cmds que usam Sscanf
Reply
#5

like the warning said, you need to put a length to a string, like string[128].
Reply
#6

Isso acontece quando vocк usa:
PHP код:
sscanf(params"s", ... 
Invйs de:
PHP код:
sscanf(params"s[30]", ...
//Onde "30" seria o tamanho da array onde serб passada a string (destino) 
Reply
#7

Quote:
Originally Posted by RodrigoMSR
Посмотреть сообщение
Isso acontece quando vocк usa:
PHP код:
sscanf(params"s", ... 
Invйs de:
PHP код:
sscanf(params"s[30]", ...
//Onde "30" seria o tamanho da array onde serб passada a string (destino) 
Obrigado, resolvi.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)