If I set a link with a target that opens like this in a new window will the website (i.e google) know what the referring website is.
Printable View
If I set a link with a target that opens like this in a new window will the website (i.e google) know what the referring website is.
Depends on your browser, but for the most part yes. :)
I guess your are right. Would you (or anybody) know how to stop a website from knowing what the referring website is.Quote:
# 0000000034 - TIME: 10.02.2004 - 17:22:49 IP: (IP) DNS-Name: (DNS-NAME) Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) FROM: http://filesharingtalk.com/index.php?showt...=0&#entry866763
use a good proxy
That not going to do me any good. I want my website to have links to other website but i do not what the other website to know that the referring website is mine.Quote:
Originally posted by MUSLEMAN@11 February 2004 - 16:50
use a good proxy
it should be possible to create a seperate page to load them from - as long as you can get a php enabled page which isnt located with your website (maybe a free service)
the code on your page to link to google would be stg like this:
then the dummy page would have code withCode:<a href="http://www.dumbpage.com/page.php?ref=http://www.google.com">Google</a>
Now i havent checked this, but i reckon it should workCode:
<?php
if ($_GET["ref"]) { $ref=$_GET["ref"] };
print("<meta http-equiv='refresh' content='0; url=$ref'>");
?>
does not seem to work :frusty: . do you know what is wrong ?Code:Parse error: parse error, unexpected '}' in /sda3-dev/webpages/departments/pdht/pdhtstudentwebpages/ariel_llamado/redirect.php on line 2
Chage:
if ($_GET["ref"]) { $ref=$_GET["ref"] };
to:
if ($_GET["ref"]) { $ref=$_GET["ref"]; }
It should be:
I doubt if this works, as I did this really fast. :PCode:<?php
$refresh = "";
$style = "";
$text = "";
$title = "";
if (!(isset($_GET[ref])))
{
$refresh = "";
$style = "\n\t\t\t\tcolor : #000000;\n\t\t\t\tfont-family : arial;\n\t\t\t\tfont-size : 12px;\n\t\t\t\tfont-weight : normal;\n\t\t\t\ttext-align : justify;\n\t\t\t\ttext-decoration : none;\n\t\t\t\ttext-style : normal;";
$text = "\n\t\tError: A URL was not specified.";
$title = "Error";
}
else
{
$refresh = "\n\t\t\t<meta http-equiv=\"refresh\" content=\"0; url=".$ref."\" />";
$style = "";
$text = "";
$title = "Redirecting...";
}
print("<"."?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?".">");
?>
<!doctype html public "-//W3C//DTD XHTML 1.1 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1.1-strict.dtd" />
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" dir="ltr">
<head>
<meta name="author" content="haxor41789" />
<meta http-equiv="content-type" content="application/xml+xhtml; charset=UTF-8" /><?php print($refresh); ?>
<title><?php print($title); ?></title>
<style type="text/css" media="screen">
html, body
{
background-color : #ffffff;
border : 0ex #ffffff solid;<?php print($style); ?>
}
</style>
</head>
<body><?php print($text); ?>
</body>
</html>
as far as i can see that's just a pretty version of mine (with the missed out ";") ;) :P