Wednesday, December 17, 2008

Ahhh, Safari, you little orphan.

Safari was giving this message:

"Safari can’t open the page.
Too many redirects occurred trying to open “http://www.mydomain.com/?pid=1?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611?pid=30611”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page."



I had to make a little switch in PHP header redirection for Safari.
From:
header("location:?pid=30611");

To:
header("location:/?pid=30611");

1 comment:

Anonymous said...

Thanks for the info! Saved me some time!