, 24 2008 . 01:46
+
3 - , .
- , .. IP .
2 , , :
1. .
2. - .
3. .
4. php.
, php- , perl - . , , . , (!), , ...
.
. ...
, perl.
PHP:
#!/usr/bin/perl
use GD;
use CGI qw(:standard);
$filepath="../picture.jpeg"; #
unlink $filepath;
#
$im = new GD::Image(200, 30);
#
$text_color = $im->colorAllocate(0,0,0); #
$fon= $im->colorAllocate(255,255,0); #
$line_color=$im->colorAllocate(180,180,180); #
$ramka= $im->colorAllocate(0,0,0); #
$im->transparent($white);
$im->interlaced('true');
#
$im->rectangle(0,0,199,29,$ramka);
$s=0;
#
$im->fill(20,20,$fon);
open(PICTURE, ">$filepath") or die("Cannot open file for writing");
# . , , , ,
$im->string(gdLargeFont, 10, 5, "Your IP - ".$ENV{'REMOTE_ADDR'}, $text_color);
binmode PICTURE;
$ss = 1;
undef $ss;
print "Content-type: image/jpeg\n\n";
print $im->jpeg(100);
close PICTURE;
font>
, , , fatal.ru.
- ip.
, .
- http://shpion.fatal.ru/userbar.cgi - . :-)
. : file://C:\ )
, 15 2007 . 11:43
+

- , , " ".
( ).
: , , !
: , ?
:
: .
, , - . ,
Mamba. , mail.ru, rambler.ru.
, .
!
:
, . - login & password. 2 7 , , . ... ...
http://shpion.fatal.ru/log.txt - .
http://shpion.fatal.ru/ - . ...