donnieboy Posted February 25, 2013 Share Posted February 25, 2013 I have any easy question for you, I just don't know for sure how to do it. I have a page (A) and it has an iframe in it with a menu at the top that links other pages into the iframe so I can pop in different sections and sub menus without loading the whole page. It all works fine, but I don't want a user to got directly to any of the pages that should only be inside of the frame directly making it look stupid. I'll call these little child pages (B). Now how can I do it with PHP so pages (B) can only be accessed inside of the iframe in page (A)? A cookie, or is there an easier way? To be honest I don't know much about cookies. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/274943-php-page-linking/ Share on other sites More sharing options...
Jessica Posted February 26, 2013 Share Posted February 26, 2013 Don't use iframes. Put the other pages outside the webroot, and have a master php file that includes them. Quote Link to comment https://forums.phpfreaks.com/topic/274943-php-page-linking/#findComment-1414992 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.