I have a .php page that I only want to be accessed via a call from another page on my site. I dont want someone to be able to type the URL of the page into their browser and get to it. I thought I could ban all other IPs except the local ip (127.0.0.1) from accessing the page, but I cant get it to work and am not sure if this is the most efficient way to do it. Any help would be appreciated.
Thanks