在javascript中判断后跳转
if (1600x1200) location.href='index1600.php';
if (1024x768) location.href='index1024.php';
if (800x600) location.href='index800.php';
if (1600x1200) location.href='index1600.php';
if (1024x768) location.href='index1024.php';
if (800x600) location.href='index800.php';
if(!$_GET["screenX"]) {
echo '
<script>
location = location.href+"?screenX="+screen.width+"&screenY="+screen.height;
</script>
';
exit;
}
$screenX = $_GET["screenX"];
$screenY = $_GET["screenY"];
?>
以下是其他内容