在javascript中判断后跳转
 
if (1600x1200) location.href='index1600.php';
if (1024x768)  location.href='index1024.php';
if (800x600)   location.href='index800.php';

解决方案 »

  1.   

    <?php
    if(!$_GET["screenX"]) {
    echo '
    <script>
    location = location.href+"?screenX="+screen.width+"&screenY="+screen.height;
    </script>
    ';
    exit;
    }
    $screenX = $_GET["screenX"];
    $screenY = $_GET["screenY"];
    ?>
    以下是其他内容
      

  2.   

    不错不错请问兄长   你是从哪里得到这些资料的,有没有PHP函数库啊要完整一点儿的,我这里有一个但是不是很全比如说这个函数就没有的