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

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

 

 

 

Link to comment
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.