There are 2 was to find a users IP address using PHP. The method you will need to use depends on the server setup(or more directly the php.ini setup). To find your current setup you can simply create a file named phpinfo.php, info.php or whatever you would like it to be named. In the file include the following code:
<?php
phpinfo();
?>
Then visit the page you created and you will get a
Leave a Reply