Hello everyone,
I’m experiencing serious problems while checking my web in IE. I would have ignored but since 51% of users are using IE, it’s hard…
I have plans how to sort out most of the problems (conditions which would alter the code - i.e. <a href="" onclick="mailto_form()">
which opens popup with contact form to send email to admin. If visitor uses IE, I’d substitute by some button etc…) but this one is critical and I need to find solution ASAP.
My web’s primary function should be sending e-cards with Apocalyptical theme (why not to make fun of something irrational so many people believe) and everything works fine with FF, Chrome or Safari.
Problem with IE is that section with ecards doesn’t work at all. I’m using simple include code:
[php] <?php
$p = $_GET[‘img’];
$ecard = "articles/ecards/".$p.".php";
if(file_exists($ecard))
include($ecard);
elseif($p=="")
echo "<span>No e-card loaded...</span></div>";
else
echo "Sorry, something went wrong. Please try again:<BR>";
?>[/php]
After this, some more includes follow. If I have no e-card included, everything displays fine in IE (well, the formatting is not exactly what it should be…) but when I load one, nothing is included (just header and then footer - I don’t include footer into pages, it’s part of gallery.php code).
I’m using the same code in Articles section and there are no problems.
Websites url is http://apocalypsecards.com, I think it might help to see what problem I’m experiencing and see it in IE and some of the other browsers to compare.
I would have understood that there is some kind of mistake if it didn’t work in any of the browsers or if the code didn’t work neither in Gallery nor Articles section. It’s confusing for me.
I’d really appreciate any help or ideas.