Jump to content

[SOLVED] IP tracking with PHP


gazalec

Recommended Posts

hi i was wondering if it was possible to find someone's IP address then save it to a file like a cookie i suppose but on the server machine instead, where as a cookie is saved to the user's machine, it just really so i can check which IP addresses are viewing the web site and to try block any that shouldn't be there, i was also wondering if it is possible to save a session variable to a file, because when customers login they are assign a session id variable, so that it takes that id searchs the database for their details and shows only their info ??

 

Thanks in advance

 

Link to comment
https://forums.phpfreaks.com/topic/46463-solved-ip-tracking-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.