19.10.2016, 01:05
Hey guys, got a clue ?
PHP код:
new s[4][5], num1, num2, num3, num4, string[40];
sscanf(ip, "p<.>s[5]s[5]s[5]s[5]", s[0], s[1], s[2], s[3]);
for(new i = 0; i < 4; i++)
{
if(!IsNumeric(s[i]))
{
for(new j = 0; j < 5; j++)
{
switch(s[i][j])
{
case 0..9: continue;
default: s[i][j] = "";
}
}
}
}
Код:
error 006: must be assigned to an array
PHP код:
default: s[i][j] = "";