Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   eCommerce & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=31)
-   -   Adsense in header, how not to display on SSL? (http://forum.bytesforall.com/showthread.php?t=11162)

newuser Nov 14, 2010 11:53 AM

Adsense in header, how not to display on SSL?
 
I've tried if (isset($_SERVER['HTTPS']) ) to halt the displaying of Google's adsense code I have in the 'configure header area' to no avail with IE. Anybody else have an idea?

<?php
if (isset($_SERVER['HTTPS']) )
{
echo "";
}
else
{
?>

Google code here

<?php
}
?>


All times are GMT -6. The time now is 01:21 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.