| ||
| PHP IP-logger -
06-08-2007
Hey all, I've written this IP-logger in PHP and posted it already, but the topic is gone now. So for all who want it, here it is, enjoy! PHP Code: ^^Get money for clicking links, a fabulous $0.01 per click!^^ gifts godkillah - Xain | ||
| |
| ||
| Re: PHP IP-logger -
06-09-2007
Nah, actually, this kind of code is quite simple. the only thing you need is to know the variables and write them to a .txt file... ^^Get money for clicking links, a fabulous $0.01 per click!^^ gifts godkillah - Xain | ||
| |
| ||
| Re: PHP IP-logger -
06-15-2007
you should edit it so it wont adds the same results when people browse. you can do this by reading the file and matching it for the $FullText | ||
| |
| ||
| Re: PHP IP-logger -
06-16-2007
Ya, I could do that, but I don't really have time to do that now, and people don't really care unless they get giant pages full of the same IP :P But.. You go ahead ![]() ^^Get money for clicking links, a fabulous $0.01 per click!^^ gifts godkillah - Xain | ||
| |
| ||
| Re: PHP IP-logger -
06-16-2007
That's what I said in my previous post. Please re-read it... ^^Get money for clicking links, a fabulous $0.01 per click!^^ gifts godkillah - Xain | ||
| |
| ||
| Re: PHP IP-logger -
06-19-2007
You could also just dump all this stuff in a database. At least that's what I did a while back. (But then I got rid of it as IP logging proved to be useless. I've no need to block anyone. ) I guess I like the idea of a database better because the whole storing things as a text file really has me bummed out on so many levels. | ||
| |
| ||
| Re: PHP IP-logger -
06-19-2007
Yeah I know that. But storing in a database slows a lot of computers down alot, and this was just a simple script :P If you really want to track & block IP's, see the countries and more, I recommend google analytics (http://www.google.com/analytics) ^^Get money for clicking links, a fabulous $0.01 per click!^^ gifts godkillah - Xain | ||
| |
| Thread Tools | |