Re: Secure redirection?
| From: | Yeti | Date: | Wed, 05 Nov 2008 12:41:44 +0000 |
| Subject: | Re: Secure redirection? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-282920@lists.php.net to get a copy of this message | ||
I wonder why you redirect the page via php when the browser supports JavaScript
Why not let JS do the redirect after the XMLHttpRequest?
figurative code ..
if (BROWSER DOES NOT SUPPORT JS) header("Location: http://$host$url");