Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2007
    Thanked 0 Times in 0 Posts

    Stop URL Editing

    This is my first post, so hello. :
    I was hoping someone had an idea on how to do this, because even though I'm a decent with PHP, I have no idea how it's done. I want to make it so people can enter in my website URL(like this : www.mysite.com/) , but, I want to make it so that if they enter in something after the slash(like this: mysite.com/blah.php) they get an error. Anyone know how this can be done? I want them to access blah.php, but only by a link on my website, not by entering it in themselves.

    Thanks for any help I receive.

  • #2
    Regular Coder
    Join Date
    May 2006
    Thanked 1 Time in 1 Post
    You can use HTTP_REFERER in this case.


    Posting Permissions

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