Hello world i have a site where i want to show hotel information in the form. Php constructs content. I call a form in the client side where i place with <iframe> link to that php. Can i prevent any calls this php from other places except this form?
ergophobe
2:02 am on Dec 12, 2004 (gmt 0)
You could check the referrer. So if the referrer is not your calling page, but is a direct link, you would redirect back to the form.
if (!substr_count($_SERVER['HTTP_REFERER'], "orion_rus_form_page.php")) { header("Location: [example.com...] }
Not sure how you really want to work it with the iframe and all, but that's the basic idea.