ilikemath2002 Posted April 2, 2009 Share Posted April 2, 2009 How can I include two files, but have them split 50/50 like an iframe? Link to comment https://forums.phpfreaks.com/topic/152314-includeiframey-like-thing/ Share on other sites More sharing options...
pugboy Posted April 2, 2009 Share Posted April 2, 2009 An IFrame Of course, if you don't want scrollbars or for them to behave like separate pages, just create 2 DIVs inside the page. Link to comment https://forums.phpfreaks.com/topic/152314-includeiframey-like-thing/#findComment-799899 Share on other sites More sharing options...
ilikemath2002 Posted April 2, 2009 Author Share Posted April 2, 2009 How can I get that to work with? if ( $check == "PASSWORD" ) { define('INCLUDED', true); include 'userprofile.php'; include 'index.php'; Link to comment https://forums.phpfreaks.com/topic/152314-includeiframey-like-thing/#findComment-799903 Share on other sites More sharing options...
pugboy Posted April 2, 2009 Share Posted April 2, 2009 if ( $check == "PASSWORD" ) { define('INCLUDED', true); ?> <div width="100%"><?php include 'userprofile.php'; ?></div> <div width="100%"><?php include 'index.php'; ?></div> Of course, you can change this by using stylesheets, etc. Real iFrames would not work without some session stuff because you cannot pass INCLUDED to either of the pages through an iFrame. Link to comment https://forums.phpfreaks.com/topic/152314-includeiframey-like-thing/#findComment-799914 Share on other sites More sharing options...
redarrow Posted April 2, 2009 Share Posted April 2, 2009 That looks crazy to me. funny members area. Link to comment https://forums.phpfreaks.com/topic/152314-includeiframey-like-thing/#findComment-799918 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.