Error: Array sizes do not match
what am i doing wrong here? And could anyone fix that for me... just get one error when i try to compile:
Code:
Error: Array sizes do not match, or destination array is too small on line 27PHP Code:
|
Re: Error: Array sizes do not match
We need to know what line 27 is.
|
Re: Error: Array sizes do not match
Quote:
geoip_code2( szIP, szCountry ); |
Re: Error: Array sizes do not match
your array is to small like include said...
PHP Code:
|
Re: Error: Array sizes do not match
Quote:
|
Re: Error: Array sizes do not match
My god -.-'
szCountry[45] |
Re: Error: Array sizes do not match
tried but still doesnt work :o.. same error as before
PHP Code:
|
Re: Error: Array sizes do not match
Quote:
If we look at geoip_code2, you can see that the second parameter has a declared array size (3). You need to pass an array for the second parameter that has that same array size. @FlyingHorse: szCountry[3] |
Re: Error: Array sizes do not match
geoip_code2() takes an array size of 3.
Also, geoip_country() can give a result up to 45 characters, so you should increase your array size. Code:
public client_putinserver(id) |
| All times are GMT -4. The time now is 14:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.