Hello PETCOL,
Friday, February 13, 2004, 12:57:59 AM, you wrote:
P> I have been able to work out how to detect the browser I'm looking for.
P> Then I need to take the user to another page.
P> if (strstr($HTTP_USER_AGENT,'Windows CE')) {
P> //go to the Windows CE version of the site
P> } else {
P> // go to or Stay on the large version
P> }
if (strstr($HTTP_USER_AGENT, "Windows CE"))
{
Header("Location: http://www.yoursite.dom/ce_page.php");
exit;
}
else
{
Header("Location: http://www.yoursite.dom/another_page.php");
exit;
}
--
Best regards,
Richard mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php