‘ƒXƒŒƒbƒhƒŠƒXƒg‚֖߂遑 ‘S•” 1- 101- 201- 301- 401- 501- 601- 701- 801- 901- 1001- ΕV50

y½Ϊ―Δށz2‚ƒ‚ˆŒ^ŒfŽ¦”Β ‚»‚Μ5yΜ۰Č^z

533 Fnobody‚³‚ρ F02/06/25 00:03 ID:???
sub decode
{
my ($name, $value, %get, $range);
if($ENV{'QUERY_STRING'} ne ""){
foreach(split /&/, $ENV{'QUERY_STRING'}){
($name, $value) = split /=/;
$value =~ tr/+/ /;
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack('H2',$1)/eg;
$get{$name} = $value;
}
$bbs = $get{'bbs'};
$key = $get{'key'};
$st = $get{'st'};
$to = $get{'to'};
$ls = $get{'ls'};
$im = $get{'imode'};
$nf = $get{'nofirst'};
}
# PATH_INFO•ͺ‰π
if($ENV{'PATH_INFO'} ne ""){
($bbs, $key, $range) = split /\//, substr($ENV{'PATH_INFO'}, 1), 3;

if($range =~ /^l(\d+)/){$ls = $1;}

if($range =~ /^(\d+)\-(\d+)/){
$st = $1; $to = $2;
}elsif ($range =~ /\-(\d+)/){
$to = $1;
}elsif ($range =~ /(\d+)\-/){
$st = $1;
}elsif($range =~ /^(\d+)/){
$st = $1; $to = $1; $nf = "true";
}
if($range =~ /i/){$im = "true";}
if($range =~ /\./){$nf = "false";}
if($range =~ /n/){$nf = "true";}
}
}

187KB
V’…ƒŒƒX‚Μ•\Ž¦

ƒXƒŒƒbƒhƒŠƒXƒg‚Φ–ί‚ι ‘S•” ‘O100 ŽŸ100 ΕV50

0ch BBS 2004-10-30