Thursday, 27 September 2018

PHP : Enable and disable Permission to access external .php file

Add this to the page that you want to only be included
<?php
if(!defined('MyConst')) {
   die('Direct access not permitted');
}
?>
then on the pages that include it add
<?php
define('MyConst', TRUE);
?>

Tembus Gmail dengan TXT record

Type: TXT Name: @ / domainname.com Loadtime : 14400 Value: v=spf1 a mx ip4:SERVER_IP include:netkl.org ~all