0

Someone knows how to get an ip address with php??

I need it for a project, please help b :c

15th Jun 2016, 7:02 AM
Agustin Brayan Lopez Villanueva
Agustin Brayan Lopez Villanueva - avatar
3 Answers
+ 6
You can use $_SERVER['REMOTE_ADDR'] to get the IP address of the user.
15th Jun 2016, 7:34 AM
James Flanders
0
Thanks
15th Jun 2016, 11:48 AM
Agustin Brayan Lopez Villanueva
Agustin Brayan Lopez Villanueva - avatar
0
you can also use $_SERVER["HTTP_CLIENT_IP"]
25th Jun 2016, 9:17 AM
Rafsan Jani
Rafsan Jani - avatar