¡@

Home 

php Programming Glossary: ub

Check String and User Agent

http://stackoverflow.com/questions/6127494/check-string-and-user-agent

get_user_browser u_agent _SERVER 'HTTP_USER_AGENT' ub '' if preg_match ' Firefox i' u_agent ub firefox else ub other.. ub '' if preg_match ' Firefox i' u_agent ub firefox else ub other if isset _GET 'print' _GET 'print' ub.. ub '' if preg_match ' Firefox i' u_agent ub firefox else ub other if isset _GET 'print' _GET 'print' ub 'firefox' pg _GET..