Leser: 1
|< 1 2 3 >| | 25 Einträge, 3 Seiten |
use CGI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
sub logout{
my ($f) = @_;
# Cookie-Sache
my @cookies;
for(qw/logged modlogin ivadmin PHPSESSID/){
my $cookie = CGI::cookie(-name => $_,
-value => $f,
-expires=>'Wed, 2-Jan-1987 00:00:00 GMT',
-path=>'/',);
push(@cookies,$cookie);
}
print CGI::header(-cookie => [@cookies]);
}
if(defined($f) && $f eq 'logout'){
logout($f);
}
if (length ($ENV{'QUERY_STRING'}) > 0){
$buffer = $ENV{'QUERY_STRING'};
@pairs = split(/&/, $buffer);
foreach $pair (@pairs){
($name, $value) = split(/=/, $pair);
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$GET{$name} = $value;
}
}
if($GET{'f'} eq 'logout'){
logout($GET{'f'});
}
1
2
3
4
5
6
7
8
9
if (length ($ENV{'QUERY_STRING'}) > 0){
$buffer = $ENV{'QUERY_STRING'};
@pairs = split(/&/, $buffer);
foreach $pair (@pairs){
($name, $value) = split(/=/, $pair);
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
$GET{$name} = $value;
}
}
1
2
3
4
5
6
7
8
{
$text{'katlink'}.="<td height=$kathoehe width=\"$weite%\" valign=top><img src=\"../images/aktenkoffer.gif\" alt=\"\"> <a class=q href=\"$domain_name/$mehmetoruc/$katlink.html\" title=\"zur Kategorie $kategorie\" target=_top><font class=hauptkatgeorienamenstartseite><strong>$kategorie</strong></font></a><br><font face=arial size=1>$showsubs</font></td> \n";
}
else
{
$text{'katlink'}.="<td height=$kathoehe width=\"$weite%\" valign=top><center><a class=q href=\"$mehmetoruc.pl?wmid=$state&action=kat&suche=$katlink\" target=_top><img src=\"../images/kat.jpg\" alt=\"$kategorie\" height=\"80\" width=\"100\" border=\"0\"></a><br><img src=\"../images/kataktenkoffer.gif\" alt=\"\"> <a class=q href=\"$mehmetoruc.pl?wmid=$state&action=kat&suche=$katlink\" title=\"zur Kategorie $kategorie\" target=_top><font class=hauptkatgeorienamenstartseite><strong>$kategorie</strong></font></a><br><font face=arial size=1>$showsubs</font><br></center></td> \n";
}
}else{
|< 1 2 3 >| | 25 Einträge, 3 Seiten |