• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Share code tự nhận dạng trình duyệt

Admin

Well-Known Member
Staff member
Administrator
CODE
PHP:
<?php
if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'],'iPod') || strstr($_SERVER['HTTP_USER_AGENT'],'android'))
 {
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Trang may cam ung , android , iphone</title></head><body>'; 
echo "may cam ung , android , iphone";
}
if(strstr($_SERVER['HTTP_USER_AGENT'],'Nokia') || strstr($_SERVER['HTTP_USER_AGENT'],'Opera') || strstr($_SERVER['HTTP_USER_AGENT'],'samsung'))
 {
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Trang nay cho nokia và opera mini</title></head><body>';  
echo "Trang nay cho nokia và opera mini";
}
if(strstr($_SERVER['HTTP_USER_AGENT'],'Windows') || strstr($_SERVER['HTTP_USER_AGENT'],'Macos') || strstr($_SERVER['HTTP_USER_AGENT'],'Linux'))
 {
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Trang nay cho May Tinh</title></head><body>';  
echo "Trang nay cho May Tinh";
}
echo '
<a hfer="http://tuoitreit.vn">[b]Trang chu[/b]</a>';
echo '</body></html>';
?>
 

Facebook Comments

New posts New threads New resources

Back
Top