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.
No comments:
Post a Comment