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);
?>

email mailto: pretext

 <a href="mailto:designoutsourced.com+info@gmail.com?subject=Maklumat%20lanjut%20pakej&body=Hai,%20saya%20berminat%20tahu%20lebi...