| | |||||
| ||||||||
| CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Mar 2006 Location: United Kingdom
Posts: 413
![]() ![]() ![]() | [PHP/MySQL] MySQL IP Logger Hi, This is the first script that I have released, it is a PHP/MySQL IP Logger, it records all visitor's IP, time, date, page accessed, additional queries (the ?var=1 stuff) and more. Also there is an Admin Panel for (basic) searching of the logged users, along with the ability to download the logs as csv, xml, or HTML more info and download: http://lee.conceptsublime.com/?content=ip_log Hope this is useful to someone, and if you have any trouble, or feedback for it , please let me know Thanks, Lee
__________________ Linux Screenshots |
| |
| | #2 (permalink) |
![]() Join Date: Jul 2006
Posts: 4,609
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Thanks a lot for the amazing script. ![]() But install.php you are missing a semicolon on line 28. Here is a correction. PHP Code:
__________________ juegosjuegos Your Hotel in Austria Matratzen Domain Acquisition | Store all your favorite links! | Web Proxies Proxy List | Bookmarks | Creative Enquiry | Web Proxy List |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Regular Join Date: Mar 2006 Location: United Kingdom
Posts: 413
![]() ![]() ![]() | ok, thank's very much for that, have you managed to install it succesfully? I must have forgotten to run the install script before I uploaded it! Also does the readme file make sense, i tend to babble on a lot when writing
__________________ Linux Screenshots |
| |
| | #4 (permalink) |
![]() Join Date: Jul 2006
Posts: 4,609
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | No problem. Just enjoying functions. I have changed your code a bit to include config.php. iplog.php PHP Code:
__________________ juegosjuegos Your Hotel in Austria Matratzen Domain Acquisition | Store all your favorite links! | Web Proxies Proxy List | Bookmarks | Creative Enquiry | Web Proxy List |
| |
| | #5 (permalink) |
| Tech Support Join Date: Mar 2005
Posts: 4,944
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Not a bad script ![]() Here's a couple useful functions you can implement if you want, pulled from one of my scripts ![]() Ip Address: PHP Code: PHP Code: |
| |