I have a problem and I hope someone can help.
So I have a web page (www.mydomain.com)
And I have 3 partner. They are restaurants with wifi access.
If a guest connect to my web page through the wifi, I would show some offer.
It's easy, but I would like to show different offer to every restaurants.
I could use different domains, in every restaurants like:
www.mydomain.com/restaurant1
www.mydomain.com/restaurant2
www.mydomain.com/restaurant3
But I think more elegant the basic domain (www.mydomain.com) and some php code.
I tried to use $_SERVER['REMOTE_ADDR']
to know clinet IP.
If I recognize the IP .I can show the right offer.
It is very helpful but my partners ip is not fix. They have dynamic ip.
My question is, how can I tracking my partners dynamic IP ?
Or What solutions exist to recognize who connected to my web page?
Thanks