phrozenflame Posted January 1, 2007 Share Posted January 1, 2007 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... Link to comment https://forums.phpfreaks.com/topic/32443-solved-recording-ip-addresss/ Share on other sites More sharing options...
trq Posted January 1, 2007 Share Posted January 1, 2007 The $_SERVER['REMOTE_ADDR'] variable will get you an ip. Link to comment https://forums.phpfreaks.com/topic/32443-solved-recording-ip-addresss/#findComment-150743 Share on other sites More sharing options...
phrozenflame Posted January 1, 2007 Author Share Posted January 1, 2007 Yes thanks that works Link to comment https://forums.phpfreaks.com/topic/32443-solved-recording-ip-addresss/#findComment-150744 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.