Your Ad Here
Sunbelt Personal Firewall
Showing posts with label Web Development. Show all posts
Showing posts with label Web Development. Show all posts

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");

CounterSpy Antispyware