<?
if($submit){
$ua $HTTP_USER_AGENT;
if(
ereg("DoCoMo",$ua)){
  
header("Location: i.php");
  exit;
}elseif(
ereg("J-PHONE",$ua)){     
  
header("Location: j.php");
  exit;
}elseif(
ereg("UP\.Browser",$ua)){ 
  
header("Location: ez.php");
  exit;
}elseif(
ereg("PDXGW",$ua)){       
  
header("Location: h.php");
  exit;
}else{ 
  
header("Location: index.php");
  exit;
}
}
?>
<html><head><title>test</title>
<meta name="ROBOTS" content="NOINDEX,NOFOLLOW">
<meta name="robots" content="noindex,nofollow">
<meta name="robots" content="noarchive">
<style type="text/css">
<!--
body{font-size:10pt;font-family:Tahoma,Verdana,Arial;color:#ffffff;background-color:#301505;}
td{font-size:10pt;font-family:Tahoma,Verdana,Arial;color:#ddcccc;}
h2{color:#ffffff;font-family:Tahoma,Verdana,Arial,sans-serif;}
a:link,a:active,a:visited{color:#AF7457;text-decoration:none;}
a:hover{color:#7F4422;text-decoration:underline;}
hr{height: 2px;color: #602515;filter:alpha(opacity=100,finishopacity=20,style=3);}
input{border:1px solid #902565;color:#FFC4A7;background-color:#402515;font-family:Verdana,Arial;font-size:9pt;}
span.type{color:#B2A69E;font-family:"Courier New","Lucida Console",Courier,Terminal; }
-->
</style>
</head>
<body link="#A7C4FF" vlink="#A7C4FF" alink="#A7C4FF">

<hr><h2>Ese UA</h2>
<blockquote>
<form action="<?php echo $PHP_SELF;?>" method="GET">
   UA@: <select name=ua>
<option value="DoCoMo/1.0/SO503i/c10,9" selected>DoCoMo/1.0/SO503i/c10,9
<option value="DoCoMo/1.0/N503i/c10,11">DoCoMo/1.0/N503i/c10,11
<option value="J-PHONE/3.0/J-SH06">J-PHONE/3.0/J-SH06
<option value="PDXGW/1.0 (TX=8;TY=7;GX=96;GY=84;C=C256;G=BF;GI=2)">PDXGW/1.0 (TX=8;TY=7;GX=96;GY=84;C=C256;G=BF;GI=2)
<option value="ASTEL/1.0/J-0511.00/c10/smel">ASTEL/1.0/J-0511.00/c10/smel
<option value="UP.Browser/3.04-SN11 UP.Link/3.2.2.7c">UP.Browser/3.04-SN11 UP.Link/3.2.2.7c
<option value="Mosaic 1.0 (compatible; Windows XP)">Mosaic 1.0 (compatible; Windows XP)
</select>
    <input type="submit" name=submit value=" Start ">
</form>
<a href=agent.phps><b>ƒ\[ƒX</b></a>
<p align=right><a href="http://php.s3.to">Let's PHP!</a>
<hr>
</body></html>