Forum Moderators: coopster
// Dont allow direct linkingdefined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
how to do this?
Please help me
Charter [webmasterworld.com]
[edited by: coopster at 3:54 pm (utc) on April 7, 2008]
[edit reason] removed code [/edit]
e.g.
define( '_VALID_MOS', true );
include 'myfile.php'; // the affiliate file
The reason i suggest this is so that remote websites can not link to this file directly.
I hope this helps.