Guest askjames01 Posted March 12, 2006 Share Posted March 12, 2006 I know this is easy question but i haven't tried this before...I want to add addtional features to my website counter...Now, i want to put a condition to get the I.P. address of the visitor...Just a simple snippet codes will do...no problem with the counter stuffs. i just want to...record the I.P. address of the visitor...Thank you very much in advance...-/james Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted March 12, 2006 Share Posted March 12, 2006 To get the user's ip:[code]$ip = $_SERVER['REMOTE_ADDR'];[/code] Quote Link to comment Share on other sites More sharing options...
Guest askjames01 Posted March 12, 2006 Share Posted March 12, 2006 Thank you mate [b]hitman6003[/b].-/james 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.