x3lite
11-27-2008, 01:03 AM
I created a plugin, hook location: global_start, added code, and enabled it.
session_start();
if (is_null($_SESSION['myadsession']))
{
$_SESSION['myadsession'] = 'No';
$showad = '<img src="http://example.com/ad.gif">';
}
else
{
}
And I added to style footer:
$showad
The ad shows once per session in firefox.
IE7 doesn't show it...
Any ideas?
The similar php code works on some of my other sites...
Thanks,
session_start();
if (is_null($_SESSION['myadsession']))
{
$_SESSION['myadsession'] = 'No';
$showad = '<img src="http://example.com/ad.gif">';
}
else
{
}
And I added to style footer:
$showad
The ad shows once per session in firefox.
IE7 doesn't show it...
Any ideas?
The similar php code works on some of my other sites...
Thanks,