Changeset 55 for trunk/banners/banner.php
- Timestamp:
- Feb 2, 2009, 8:21:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/banners/banner.php
r43 r55 8 8 $Database->SelectDatabase($Config['Database']['Database']); 9 9 10 //header('Content-Type: image/png');10 header('Content-Type: image/png'); 11 11 $Referer = addslashes($_SERVER['HTTP_REFERER']); 12 $Referer = substr($Referer, strpos($Referer, '/') + 2); 13 $Referer = 'http://'.substr($Referer, 0, strpos($Referer, '/')).'/'; 12 14 $DbResult = mysql_query('SELECT * FROM `banner` WHERE `Web` = "'.$Referer.'"', $Database->id_connection); 13 15 if(mysql_num_rows($DbResult) > 0)
Note:
See TracChangeset
for help on using the changeset viewer.