// List available ref banners
$SW = 2; $OUT = "";
while (list($id, $url, $alt, $count, $clks) = SQL_FETCHROW($result)) {
- $test = str_replace(URL, PATH, $url); $size = 0;
+ $test = str_replace(URL, constant('PATH'), $url); $size = 0;
if ($test == $url) {
// Download banner (I hope you keep the banner on same server???)
$fp = GET_URL($url); $file = "";