antonyfal Posted October 22, 2011 Share Posted October 22, 2011 Hi, I am struggling to find an answer here.. If for example my iframe source, file.php has a initcheck/direct access block, how can i still have access to it in an iframe? <center><iframe name="frame1" id="frame1" style="width: 100%; height: 120px; z-index: 0; " scrolling="0" src="file.php" frameborder="0"></iframe></center> //then the file.php has an initcheck and itself includes multiple other files so i cant remove the initcheck.. //header of file.php // ################################################################ defined( '_MYAPP_INITCHECK' ) or die( '' ); // ################################################################ Link to comment https://forums.phpfreaks.com/topic/249591-iframe-src-has-initcheckdirect-access-block-how-can-i-work-this/ Share on other sites More sharing options...
trq Posted October 22, 2011 Share Posted October 22, 2011 Remove the check. Link to comment https://forums.phpfreaks.com/topic/249591-iframe-src-has-initcheckdirect-access-block-how-can-i-work-this/#findComment-1281444 Share on other sites More sharing options...
antonyfal Posted October 23, 2011 Author Share Posted October 23, 2011 Hi, thanks for replying... I did find a work around to my problem eventually, but i could never solve this this one!? if i removed the check, then the THAT! file cannot pull information from all the other files that it requires.. In the end i was experimenting with include and require_once i think they would have worked... but in the end I did away with the iframe all together, spent several hours re-stucturing my urls and worked it out.. (my problem/reason).. thanks again.. If anyone does find the correct answer post it here.. I might need it in the future.. regards Antony Link to comment https://forums.phpfreaks.com/topic/249591-iframe-src-has-initcheckdirect-access-block-how-can-i-work-this/#findComment-1281498 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.