Cris987
12-26-2004, 06:02 PM
I'm using google adsense on my website, and it won't work with my xml headings:
<?php
if(stristr($_SERVER['HTTP_ACCEPT'],"application/xhtml+xml")) {
header("Content-Type: application/xhtml+xml; charset=utf-8");
echo '<?xml version="1.0" encoding="UTF-8"?'.'>';
} ?>
When I use mozilla firefox - which accepts the above xml heading, the ads won't appear at all.
However, when I use internet explorer - which ignores the above headings, the ads do show.
http://jayscn.aboho.com
Anybody know why this is happening and how to fix this? Thx.
<?php
if(stristr($_SERVER['HTTP_ACCEPT'],"application/xhtml+xml")) {
header("Content-Type: application/xhtml+xml; charset=utf-8");
echo '<?xml version="1.0" encoding="UTF-8"?'.'>';
} ?>
When I use mozilla firefox - which accepts the above xml heading, the ads won't appear at all.
However, when I use internet explorer - which ignores the above headings, the ads do show.
http://jayscn.aboho.com
Anybody know why this is happening and how to fix this? Thx.