• 06-03-2013, 12:39:42
    #1
    nasıl oluyor ? sayyac nasıl yapıyor bunu
  • 06-03-2013, 13:16:07
    #2
    belkide js ile yapıyordur.

    <script language='JavaScript'>
    <!--
    function detect()
    {
    alert('Screen resolution is '+screen.width+'x'+screen.height+'.');
    }
    //-->
    </script>
    
    <a href='#' onclick='detect();return false;'>Detect Screen Resolution</a>
    <?php
    
    if(!isset($_GET['screen_check']))
    {
    	/* This code will be executed if screen resolution has not been detected.*/
    	echo "<script language='JavaScript'>
    	<!-- 
    	document.location=\"$PHP_SELF?screen_check=done&Width=\"+screen.width+\"&Height=\"+screen.height;
    	//-->
    	</script>";
    }
    else 
    {    
    	/* This code will be executed after screen resolution is detected.*/
        if(isset($_GET['Width']) && isset($_GET['Height'])) {
    		// Resolution  detected
    		echo "<h1>Your screen resolution is ".$_GET['Width']." x ".$_GET['Height'].".</h1><br />";
    			//Display page as per resolution
    			if(($_GET['Width']>1024)&&($_GET['Height']>768)) {
    				echo "<b>This will be displayed when screen resolution is greater than 1024x768.</b>";
    			}
    			else {
    				//Display page as per resolution
    				echo "<b>This will be displayed when screen resolution is either equal to or less than 1024x768.</b>";
    			}
         }
         else {
                   // Resolution not detected
         }
    }
    ?>
    şöylede bir örnek var ;

    http://www.phpmagicbook.com/find-scr...tion-with-php/
  • 06-03-2013, 13:17:24
    #3
    Ekran çözünürlüğü mü ? Ekran görüntüsü mü?
  • 06-03-2013, 14:33:12
    #4
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Clientside herhangi bir şey olmadan client a ait bilgiler toplayamazsiniz. Bu noktada daha önceki cevaplarda söylendiği gibi Javascript işinizi görecektir.