Jump to content

iframe src has initcheck/direct access block, how can i work this?


antonyfal

Recommended Posts

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( '' );

// ################################################################

 

 

 

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

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.