Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Responsive Web Design and display:none; Re: Responsive Web Design and display:none;

#127996

Let me start by saying I know that this is not good practice and still has tons of bugs, but as anyone here built a responsive site using PHP browser detection…
[http://php.net/manual/en/function.get-browser.php](http://php.net/manual/en/function.get-browser.php “PHP.NET Manual”)



echo $_SERVER . "nn";

$browser = get_browser(null, true);
print_r($browser);
?>

combining this with some php ReqEx to display HTML content if so please link it.

If not it might be worth putting a testing environment together using JavaScript and a PHP fallback, just to see if this would ever be a practical solution. My guess is no, but I have been wrong before.