Can we get visitor's ip address with the help of PHP? If yes then how? | Sololearn: Learn to code for FREE!
+ 3

Can we get visitor's ip address with the help of PHP? If yes then how?

How to get ip address of a visitor throught PHP?

23rd Jan 2019, 9:34 AM
M Maaz Azhar
M Maaz Azhar - avatar
2 Answers
+ 2
Can you be more specific, possibly add a example bit of code for a beginner. Thx
24th Jan 2019, 10:32 AM
Abz Responsible
Abz Responsible - avatar
+ 2
Maaz Azher‎ thanks for the code. Is there a site where i can check for the location?
20th Feb 2019, 9:55 AM
Abz Responsible
Abz Responsible - avatar