Current location: Hot Scripts Forums » Programming Languages » Perl » Image IP Logger - Check it out


Image IP Logger - Check it out

Reply
  #1 (permalink)  
Old 12-11-03, 12:22 AM
stingraze stingraze is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Image IP Logger - Check it out

Hi Guys! I made a Image IP Logger Check it out You can use it modify it and resubmit, but don't sell it please.

#!C:\Perl\bin\perl.exe
#Image IP Logger by Tsubasa Kato (C) 2003
$t = localtime;
$ip = "$ENV{'REMOTE_ADDR'}";
###########################
open(IN, "logger.gif");

binmode(IN);
read(IN, $image, -s "logger.gif");
close(IN);
###########################
binmode(STDOUT);
print "Content-type: image/gif\n";
print "\n";
print $image;
###########################
open(OUT, ">>log.htm"); #Opens log.htm for Output of IP Address

print OUT "Access from: $ip at $t<p>\n"; #Outputs the Ip address to log.htm.

close(OUT);
__________________
visit http://www.stingraze.net/search.htm for Mohawk Search Engine
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify Google image search benska Script Requests 0 11-12-03 04:04 PM
Need help on a image slide show using php! xelanoimis PHP 2 10-16-03 06:51 PM
dynamic image src = Newbie question clintre PHP 1 10-07-03 09:56 AM
camera phone image poster apt2 Script Requests 2 08-29-03 07:20 PM
A different kind of image counter Stix Script Requests 1 08-11-03 11:50 PM


All times are GMT -5. The time now is 04:47 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.