27.08.2014, 08:34
Use:
IP is not a number.
PHP код:
if(strcmp(FirstIP, LastIP, true) == 0)
{
//here, if first ip and last ip are the same.
}