Hi All,
I need a help from you guys. I have two tables once containing some list of ip range and other tables which contain the login id and their respective ip address from where they have logged in.
Now, I want to run a report on the daily basis to check whether the ips in the second table is come to ip range in the first table.
The table architecture is as follows:
iprange
id fromIP endIP
1 123.11.11.34 123.11.13.45
2 123.11.11.54 123.11.13.67
3 123.11.15.34 123.11.18.46 etc
now I have other table
logintable
ID username logip
1 A1 123.11.11.33
2 a3 123.15.11.34
the issue, i want to create php file where it checks the ip in logintable to iprange. If the record found, then show the details from logintable for the particular order.
Thank in advance for your help.
With Regards,
Robin
New Delhi - India
I need a help from you guys. I have two tables once containing some list of ip range and other tables which contain the login id and their respective ip address from where they have logged in.
Now, I want to run a report on the daily basis to check whether the ips in the second table is come to ip range in the first table.
The table architecture is as follows:
iprange
id fromIP endIP
1 123.11.11.34 123.11.13.45
2 123.11.11.54 123.11.13.67
3 123.11.15.34 123.11.18.46 etc
now I have other table
logintable
ID username logip
1 A1 123.11.11.33
2 a3 123.15.11.34
the issue, i want to create php file where it checks the ip in logintable to iprange. If the record found, then show the details from logintable for the particular order.
Thank in advance for your help.
With Regards,
Robin
New Delhi - India
Comment