nightkarnation Posted December 26, 2008 Share Posted December 26, 2008 Is there an easy way to get the user IP when for example he posts on my php guestbook like: $ip = $ip(); Or something like that Quote Link to comment Share on other sites More sharing options...
n8w Posted December 26, 2008 Share Posted December 26, 2008 $ip=$_SERVER["REMOTE_ADDR"] ; Quote Link to comment Share on other sites More sharing options...
hobeau Posted December 26, 2008 Share Posted December 26, 2008 <?php $ip = $_SERVER['REMOTE_ADDR']; ?> Quote Link to comment Share on other sites More sharing options...
nightkarnation Posted December 26, 2008 Author Share Posted December 26, 2008 Perfect! Thanx guys! Cheers! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.