i put in top of my include / external page any line for prevent Remote File Inclusion. this checked include file / extrenal load only in my index page . now when i load this (external page) in colorbox lightbox with iframe method this not work and i see blank page. if i remove this line worked ! how to fix this problem ? any way ?
top php page :
if (!defined('INDEX_ROOT') || (defined('INDEX_ROOT') && INDEX_ROOT != 'true')) die();
html & colorbox :
<script>$(document).ready(function(){ $(".iframe").colorbox({ iframe:true,scrolling:false,width:665,height:600});});</script>
<a class="iframe" href="test.php">load frame</a>
thanks