Page 1 of 4 1234 LastLast
Results 1 to 10 of 40

Thread: Link And Http Referer

  1. #1
    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.

  2. Internet, Programming and Graphics   -   #2
    h1
    Guest
    Depends on your browser, but for the most part yes.

  3. Internet, Programming and Graphics   -   #3

    # 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: https://filesharingtalk.com/index.php?showt...=0&#entry866763
    I guess your are right. Would you (or anybody) know how to stop a website from knowing what the referring website is.

  4. Internet, Programming and Graphics   -   #4
    BANNED
    Join Date
    May 2003
    Posts
    5,520
    use a good proxy

  5. Internet, Programming and Graphics   -   #5
    Originally posted by MUSLEMAN@11 February 2004 - 16:50
    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.

  6. Internet, Programming and Graphics   -   #6
    vivitron 15's Avatar Poster
    Join Date
    Jan 2003
    Location
    North East England, UK
    Posts
    1,741
    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:

    Code:
    <a href="http://www.dumbpage.com/page.php?ref=http://www.google.com">Google</a>
    then the dummy page would have code with
    Code:
    <?php
    if ($_GET["ref"]) { $ref=$_GET["ref"] };
    
    print("<meta http-equiv='refresh' content='0; url=$ref'>");
    
    ?>
    Now i havent checked this, but i reckon it should work
    <insert signature here>

  7. Internet, Programming and Graphics   -   #7
    Code:
    Parse error&#58; parse error, unexpected &#39;}&#39; in /sda3-dev/webpages/departments/pdht/pdhtstudentwebpages/ariel_llamado/redirect.php on line 2
    does not seem to work . do you know what is wrong ?

  8. Internet, Programming and Graphics   -   #8
    Ynhockey's Avatar Poster
    Join Date
    Jan 2003
    Location
    Israel
    Posts
    406
    Chage:

    if (&#036;_GET["ref"]) { &#036;ref=&#036;_GET["ref"] };

    to:

    if (&#036;_GET["ref"]) { &#036;ref=&#036;_GET["ref"]; }

  9. Internet, Programming and Graphics   -   #9
    h1
    Guest
    It should be:
    Code:
    &#60;?php
    &#036;refresh = &#34;&#34;;
    &#036;style = &#34;&#34;;
    &#036;text = &#34;&#34;;
    &#036;title = &#34;&#34;;
    if &#40;&#33;&#40;isset&#40;&#036;_GET&#91;ref&#93;&#41;&#41;&#41;
    {
    	&#036;refresh = &#34;&#34;;
    	&#036;style = &#34;&#092;n&#092;t&#092;t&#092;t&#092;tcolor &#58; #000000;&#092;n&#092;t&#092;t&#092;t&#092;tfont-family &#58; arial;&#092;n&#092;t&#092;t&#092;t&#092;tfont-size &#58; 12px;&#092;n&#092;t&#092;t&#092;t&#092;tfont-weight &#58; normal;&#092;n&#092;t&#092;t&#092;t&#092;ttext-align &#58; justify;&#092;n&#092;t&#092;t&#092;t&#092;ttext-decoration &#58; none;&#092;n&#092;t&#092;t&#092;t&#092;ttext-style &#58; normal;&#34;;
    	&#036;text = &#34;&#092;n&#092;t&#092;tError&#58; A URL was not specified.&#34;;
    	&#036;title = &#34;Error&#34;;
    }
    else
    {
    	&#036;refresh = &#34;&#092;n&#092;t&#092;t&#092;t&#60;meta http-equiv=&#092;&#34;refresh&#092;&#34; content=&#092;&#34;0; url=&#34;.&#036;ref.&#34;&#092;&#34; /&#62;&#34;;
    	&#036;style = &#34;&#34;;
    	&#036;text = &#34;&#34;;
    	&#036;title = &#34;Redirecting...&#34;;
    }
    
    print&#40;&#34;&#60;&#34;.&#34;?xml version=&#092;&#34;1.0&#092;&#34; encoding=&#092;&#34;UTF-8&#092;&#34; standalone=&#092;&#34;yes&#092;&#34; ?&#34;.&#34;&#62;&#34;&#41;;
    ?&#62;
    &#60;&#33;doctype html public &#34;-//W3C//DTD XHTML 1.1 Strict//EN&#34; &#34;http&#58;//www.w3.org/TR/xhtml1/DTD/xhtml1.1-strict.dtd&#34; /&#62;
    &#60;html xmlns=&#34;http&#58;//www.w3.org/1999/xhtml&#34; xml&#58;lang=&#34;en-US&#34; lang=&#34;en-US&#34; dir=&#34;ltr&#34;&#62;
    	&#60;head&#62;
     &nbsp;&#60;meta name=&#34;author&#34; content=&#34;haxor41789&#34; /&#62;
     &nbsp;&#60;meta http-equiv=&#34;content-type&#34; content=&#34;application/xml+xhtml; charset=UTF-8&#34; /&#62;&#60;?php print&#40;&#036;refresh&#41;; ?&#62;
     &nbsp;&#60;title&#62;&#60;?php print&#40;&#036;title&#41;; ?&#62;&#60;/title&#62;
     &nbsp;&#60;style type=&#34;text/css&#34; media=&#34;screen&#34;&#62;
     &nbsp;	html, body
     &nbsp;	{
     &nbsp; &nbsp;background-color &#58; #ffffff;
     &nbsp; &nbsp;border &#58; 0ex #ffffff solid;&#60;?php print&#40;&#036;style&#41;; ?&#62;
     &nbsp;	}
     &nbsp;&#60;/style&#62;
    	&#60;/head&#62;
    	&#60;body&#62;&#60;?php print&#40;&#036;text&#41;; ?&#62;
    	&#60;/body&#62;
    &#60;/html&#62;
    I doubt if this works, as I did this really fast.

  10. Internet, Programming and Graphics   -   #10
    vivitron 15's Avatar Poster
    Join Date
    Jan 2003
    Location
    North East England, UK
    Posts
    1,741
    as far as i can see that&#39;s just a pretty version of mine (with the missed out ";")
    <insert signature here>

Page 1 of 4 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •