Mengatasi Error session_start() pada joomla

pada joomla biasanya banyak di temukan error ketika web di akses misal error pada session_start() berikut : Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/joomla15/configuration.php:68) in /Applications/XAMPP/xamppfiles/htdocs/joomla15/libraries/joomla/session/session.php on line 423 Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /Applications/XAMPP/xamppfiles/htdocs/joomla15/configuration.php:68) in … Read more

How to disable F12 in web

<script type=”text/javascript” language=”JavaScript”>// <![CDATA[ <br /><br />//////////F12 disable code////////////////////////<br /> document.onkeypress = function (event) {<br /> event = (event || window.event);<br /> if (event.keyCode == 123) {<br /> //alert(‘No F-12’);<br /> return false;<br /> }<br /> }<br /> document.onmousedown = function (event) {<br /> event = (event || window.event);<br /> if (event.keyCode == 123) {<br … Read more

Categories PHP

How to Disable copy paste in your web

tambahkan script berikut: <script type=”text/JavaScript”>// <![CDATA[ <br />//courtesy of BoogieJack.com<br />function killCopy(e){<br />return false<br />}<br />function reEnable(){<br />return true<br />}<br />document.onselectstart=new Function (“return false”)<br />if (window.sidebar){<br />document.onmousedown=killCopy<br />document.onclick=reEnable<br />}<br /> // ]]></script>

Categories PHP

How to hide html source code & disable right click

tambahkan script berikut : <p>&nbsp;</p> <p> <script type=”text/javascript” language=”JavaScript”>// <![CDATA[ var message=”Function Disabled!”; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function(“alert(message);return false”) // ]]></script> </p>

Categories PHP