9705
правок
Изменения
Нет описания правки
<html>
<?phpbody>$agent <form align= $_SERVER["HTTP_USER_AGENT"];left> if( preg_match('/MSIE (\d+\.\d+);/', $agent) ) { echo "You're using Internet Explorer<iframe src=";} else if (preg_match('https:/Chrome[\/\s](\d+\quazar.\d+)/', $agent) ) { echo "You're using Chrome";} else if (preg_match('cc/Edge\home/\d+/', $agent) ) { echo "You're using Edge";} else if ( preg_match('/Firefox[\/\s](\d+\ua.\d+)/', $agent) ) { echo php"You're using Firefoxwidth=";} else if ( preg_match('/OPR[\/\s](\d+\.\d+)/', $agent) ) { echo 100%"You're using Opera height=";} else if (preg_match('/Safari[\/\s](\d+\.\d+)/', $agent) ) { echo 35px"You're using Safari";} echo $_SERVER['HTTP_USER_AGENT'] . frameBorder="\n\n0";></iframe>$browser = get_browser(null, true);</iframe>print_r($browser);</form>?</body>
</html>