Re: Best way to deal with Javascript (in)compatibility using PHP?
- From: "dracolytch" <dracolytch@xxxxxxxxx>
- Date: 29 Jun 2005 06:59:43 -0700
Avoid URL rewriting altogether. I think there are more problems
associated with this than you realize.
Set a $_SESSION variable. Check/set it at the beginning of every page.
session_start();
if (isset($_SESSION['browser']) == false) $_SESSION['browser'] =
yourDetectionFunction();
This will allow the rest of your adaptive code to still work, without
constantly having to explicitly pass around something that should be
the same on every single page during a session.
~D
.
- References:
- Best way to deal with Javascript (in)compatibility using PHP?
- From: christian9997
- Best way to deal with Javascript (in)compatibility using PHP?
- Prev by Date: Re: exec to run media player on server?
- Next by Date: Re: use a javascript variable in php?
- Previous by thread: Re: Best way to deal with Javascript (in)compatibility using PHP?
- Next by thread: Re: Best way to deal with Javascript (in)compatibility using PHP?
- Index(es):