Forum Moderators: coopster
i have a file which show some data and i dont allow any others to include these on there site
already tried these but not working
include_once("somefile.php"); < at the start of my data file but when i tried to include data file from my other site so its including without any error
any solution?
there is a file which get data from mysql and show very simple
but other sites are just using
<?php include "myfile.php"; ?>
and including my file and showing data to there sites i just want to disallow including and that's why i just added include_once("somefile.php"); on the start of my data file after that i checked by including my data file from my other site so its showing data
in my other site there was no somefile.php
so now ok or need more details ?