Re: Mozilla user agent escapes detection
| From: | Richard Heyes | Date: | Tue, 02 Sep 2008 16:02:13 +0000 |
| Subject: | Re: Mozilla user agent escapes detection | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279288@lists.php.net to get a copy of this message | ||
> By the way, another thing I'm trying to do is reliably test to see if a
> browser accepts cookies. I just looked through your PHP blog, and didn't see
> that specifically listed, but since I'm emailing you already, may I ask if
> you have a script that does that? Or a good recommendation?
Just send a cookie to the browser, rfresh the page (or redirect to
another page) and then test for its existence (in $_COOKIE).
--
Richard Heyes
HTML5 Graphing for IE7, FF, Opera and Safari:
http://www.phpguru.org/RGraph