mercredi 21 octobre 2015

How to get Client Ip Address in Laravel 5.1?

i am trying to get Client's IP Address in Laravel, as we all know that it is pretty much easier to get a client's IP in php by using, $_SERVER["REMOTE_ADDR"], It is working fine in Core Php, but when i use the same thing in Laravel, then it gives server IP rather than visitor IP.

Don't know what's going on. Please help me to sort out this issue.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire