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 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. Link to comment https://forums.phpfreaks.com/topic/274943-php-page-linking/#findComment-1414992 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.