I wan't to make a frame on my page, but if someone open the frame just frame page fx. frame.html he will be rediricted to page fx. index.php

I mean so the frame page cannot be opened without the whole page.

Ex.
My page is (index.php) there is a frame (content.php). Opening (content.php) in new window or tabs you will be rediricted to (index.php).

THANKS!!!