0
I have an application where users type A post information. By default these posts will be available to any user on the web, anywhere in the world.
But there is the possibility for the user to restrict his post 123 to some cities. In other words, the user has forbidden his post 123, to be available to people who access the cities of Brasilia, Salvador and André da Rocha (small city of Rio Grande do Sul). I’m using random examples between small and medium-sized cities.
How to implement such functionality?
Let’s consider that all users who will access the system will not be making use of proxy.
I’m using php.