How to prevent directory listing of your website
(1)create a .htaccess file at your root directory (2)add following code in this file IndexIgnore *
(1)create a .htaccess file at your root directory (2)add following code in this file IndexIgnore *
Hypertext Access, commonly shortened to htaccess, is a powerful configuration file which controls the directory it is placed in and all the subdirectories underneath it. .htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn ‘loaded […]
you can enable this from admincp (1)go to admin panel (2)admincp->setting->manage setting->Server Settings (3)find “Site Wide AJAX Browsing†(4)set it true
there are 2 ways 1 : Backend (a)go to admincp admincp->manage setting ->debug (b)select required debug level and then save 2 : Frontend (a)go to include/setting/constant.sett.php (b)define(‘PHPFOX_DEBUG’, false); (c)replace it with define(‘PHPFOX_DEBUG’, true); (d)save
@ is error controller operator in php.if we add this operator before any expression or function then any error generated by that expression or function will be ignored. eg : (1)include(‘a.php’); Warning: include(a.php) [function.include]: failed to open stream: No such file or directory (2)@include(‘a.php’); no error or warning
PHP – hypertext preprocesspor , is a server side scripting language that is mainly used to create web applications.PHP is open source comes under PHP license
we can hide some unavoidable error by using following function function handleError() { return true; } window.onerror = handleError();
(1)open link http://www.google.com/recaptcha (2) register and generate (a)reCAPTCHA public key (b)reCAPTCHA private key (3)go to admin (4)admin->Settings->Advanced Settings (5)add captcha key (6)cache clear