开发者

Safari will not redirect to querystring URL

I have a site built with PHP that does a redirect after certain actions are performed.

header("Location: http://example.com/accountArea/?v=updated");

I then show a message based on the value of the query string value. In safari (and only in Safari) after the redirect, you will only see a blank page. I have tried using absolute URL and relative URL in my redirect, neither work.

I was unable to find a solution by searching the web so I 开发者_Python百科hope someone here is familiar with this.


What do you see in Safari's location bar? What do you see when you view source of the blank page? What happens if you go to the URL directly by typing it in to the address bar rather than being redirected? Does any error message show up in apache's error_log?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜