Quote:
Originally Posted by MPDev
Since you don't seem to use the URL variable, maybe you would use it as:
Code:
$url = parse_url($_SERVER["HTTP_REFERER"]);
$url = $db->escape_string(strtolower($url['host']));
and store the domain of the referring url so you can group them together?
I didn't see the field url being used anywhere, so doing that allows me to group the domains.
|
I used this instead :
PHP Code:
if ( !eregi( $_SERVER['SERVER_NAME'], $ref) AND $ref !="" ) $insert = true ;