How to compare two ip addressed

  • Автор темы Автор темы cool7878
  • Дата начала Дата начала

cool7878

Client
Регистрация
22.02.2013
Сообщения
28
Реакции
1
Баллы
3
Hi

I am having some hard time to compare two ip addresses stored in two variables. Could you please tell me the exact way I need to put it in if statement? so far I tried this but it did not result any true or false:

'{-oldip-}'='{-newiip-}' or '{-oldip-}'!='{-newiip-}' nothing worked.

Thanks
Raj
 
'{-oldip-}'!='{-newiip-}' whould work

Attach example
 
Hi

I found the solution of the problem. Put those two variables into javascript and them compared and it worked.

Thanks
Raj
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)