about bookmarking tool

Discussion in 'PHP' started by JEET, Oct 20, 2008.

  1. #1
    Hello,
    (confused where to post this, so sorry if wrong forum)
    If a website is linking to my site, and link is clicked, I can get refer info. but what if it's not linking to my site, then how can I get the URL of last page they were visiting?
    I was thinking about browser history (JS), but it seems that all codes I found have problems on firefox.

    This is for a social bookmarking php script, and I need to find some "proven" way to get the last visited URL.
    Please help with some codes, or suggest something.
    Thanks :)
     
    JEET, Oct 20, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    EricBruggema, Oct 20, 2008 IP
  3. Kyosys

    Kyosys Peon

    Messages:
    226
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    that's for clicks. If they do not click, you can't access the browser history without some hacking, and that only works in javascript.

    So no, not possible in PHP
     
    Kyosys, Oct 20, 2008 IP
  4. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #4
    How do social bookmarking websites track URL's then? Do people need to type it?
    Thanks :)
     
    JEET, Oct 20, 2008 IP
  5. Kyosys

    Kyosys Peon

    Messages:
    226
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    uh... with referers?
     
    Kyosys, Oct 20, 2008 IP
  6. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #6
    See DP is not linking to any social bookmarking websites. Now if you want to bookmark a thread of DP to a social bookmark, how would you do it?
    Do you need to type the URL on that site, or they can themselves find out the last page you visited? If they can, then that is what I need to do.
    They can only track a referer if DP was linking to them.
    Thanks :)
     
    JEET, Oct 21, 2008 IP
  7. Kyosys

    Kyosys Peon

    Messages:
    226
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i have no idea about social bookmarking sites, but I assume you either download a browser plugin or type it in
     
    Kyosys, Oct 21, 2008 IP