I have my guestbook in an iFrame.
Is there a way to prevent the calling of the gbook.php file directly if not navigated to from the page it is contained within?
ie: allow gbook.php if called from page.html but not permit its' loading if called directly from, eg: domain.com/gbook/gbook.php
Maybe using the isset function?
Any pointers greatly appreciated.
Thank you.
Gbook page security question
If a page is accessible from an iframe it is also accessible directly in the browser. I don't know of any way to prevent that.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools