To get the ip address of the visitor / user , use the following PHP code section :
Here , $ip is the variable which holds the ip address . $_SERVER is used to get information about server and execution. REMOTE_ADDR is the environment variable which holds the ip address of the user.
Other Recommended Posts on php
(If you found this article useful then share with your friends.)
No comments:
Post a Comment