View Full Version : Get my users ip
Popa Andrei
06-11-2012, 07:46 PM
I would like to know if there is a way to fecth all my current accounts ip from the database so i can whitelistem into cloudflare.
Thanl you in advance.
You could do
SELECT DISTINCT ipaddress FROM post
to get a list of every ip that anyone has posted from. You might also want
SELECT DISTINCT ipaddress FROM user
to get the registration ips. Someone who is better at sql than I am might be able to figure out a way to get one list of distinct ip addresses from both tables in one query, but it's beyond me.
Popa Andrei
06-12-2012, 04:36 PM
where can i run those queryes in vb?
Maintenance > Execute SQL Query, if you have access to that. You can also use phpMyAdmin if you have that.
Popa Andrei
06-12-2012, 05:18 PM
I have access,thank you.
And it work.Thanks alot.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.