How to compare data to know it is duplicated?

doyou1425

Пользователь
Регистрация
23.06.2020
Сообщения
39
Благодарностей
0
Баллы
6
I don't want to use duplicated IP, so i want to know if the current IP was used by me before? how to make it?

i can also buy if there are ready-made script. also if anyone can write this, i can pay
 

amyboose

Client
Регистрация
21.04.2016
Сообщения
2 312
Благодарностей
1 191
Баллы
113
Database and script which getting and checking ip in database
I did it before
 

nicanil

Client
Регистрация
06.03.2016
Сообщения
2 242
Благодарностей
1 807
Баллы
113
Save all used IPs to a file and bind it to the List.
Then to check if the current IP is unique try getting a line from the list, and as search criteria use your IP.
Check with "if" action If the result variable is empty. If it is, then this is unique IP, if it is not, then the list contains this IP.
 

doyou1425

Пользователь
Регистрация
23.06.2020
Сообщения
39
Благодарностей
0
Баллы
6
you are all right, but solved, i was in hurry at that time. find a a guy to write it and cost $60, lol
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113
you are all right, but solved, i was in hurry at that time. find a a guy to write it and cost $60, lol
If You got logic where its checked in loop then you will have a problem when you will get millions of ip to check in loop, it will simply take too much time. Then database way will be the best.
 

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