SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Addict
    Join Date
    Nov 2009
    Posts
    308
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Allowing access to a page from a certain referrer

    Hi,

    I have a page on my website and I want it to be accessible only by people who visit it from a certain referring site.

    Let's say my page is this:

    http://www.mysite.com/my-page.php

    And the referring site is this:

    http://www.allowedsite.com/

    I want my page to be accessible only by visitors coming from the allowed site. Is there a way to do this with PHP?

    Thanks.
    Last edited by nayen; Jul 19, 2012 at 07:12. Reason: removed links


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
  •