If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

You have posted in the javascript forum. However, the code in your post is not javascript. At least not by itself. It looks more like PHP. In fact, it's the exact syntax used by PHP. As such, if executed server side via PHP, it will work in any browser unless that browser's settings somehow prevent that. I'm not sure there are any such settings though.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.

Edit:In light of developments later in this thread, it's been moved to the PHP forum

I am not joking but that header/refresh wasn't working initially and I don't know if it was because I had it in a wrong place or what. Last night I looked at the script again, cleaned it up a little bit and now it's doing what it's supposed to do. Go figure.

Well, at least we cleared up that it was in fact PHP being done on the server side.

One thing about headers is that they say they have to be sent before anything is written to the page. I've found that not to always be true. But it might be more true in some browsers than in others, or you might have been writing before sending in IE and not in others for some reason.

Without seeing the full non-working PHP code, at least up to where the header is sent, we may never know for sure. Even then we might not as in my experience IE is more prone to cache PHP pages than is any other browser. And/or IE may have been the only browser that even had the page in cache. That might be all it was. After you added the header, IE may still have been using a cached version of the page without the header.