
Lostshadow
|
Posted - 2007.10.22 16:57:00 -
[1]
Edited by: Lostshadow on 22/10/2007 17:00:11 Edited by: Lostshadow on 22/10/2007 16:58:23 Right, welcome to the world of the buggy IGB. You're all very close to the solution, but not quite there.
1) The OP has the correct formatting for the header, the other posters do not. Why? Because the IGB is fussy about trailing slashes. If you don't have a trailing slash then the IGB can easily suddenly lose trust for a page on your site. When requesting trust, make sure you put in your url as http://example.com/ rather than http://example.com The HTTP_HOST server var will return the host without the trailing slash so you need to add it manually.
2) When browsing to the page in the IGB make sure you add that trailing slash to the address. This is tied to number 1, it's a little awkward I know but it works so just do it and smile :)
3) Not going to help massively but I have to say it. Using either single or double quotes to surround strings in PHP makes no difference. Neither does spacing between quotes and full stops, brackets and full stops or anything else. Sorry, I code in PHP for a living and that just wound me up a little.
4) There is another bug with the popup requesting trust. If you tick the box saying dont ask me again then it doesn't matter whether you chose to trust the site or not. The IGB will add it to it's never trust this site list. The way to permanently trust a site is to go to options, trusted sites in the IGB. If you clicked the do not ask me again button you will see the site listed there and flagged as not trusted. You can then right click it to set it to always trusted. If it's not in the list, you can manually add it, but remember to add the trailing slash!
I think that's everything covered, have fun finding way's around the many many other IGB bugs :)
Edit: I forgot one. The reason you wont be seeing a popup is because you got the popup once and then told it to trust and never ask you again. The IGB thinks that you dont wanna trust and so will never ask again, but you're code is actually correct.
|