Response Codes

Every thing in a web is based on request and response. If you want something you are requesting it, where do you do it, it is nothing but your browser. The request is sent to the server. The server fetch the data and sends it back to the browser. The response can be...

Params anywhere

As I was working in one of the Joomla websites, I ran across a sceranio where i have to call a template parameters in a module. My typical programming instincts was to write a Query and fetch the params and finish the job. But the parameters are stored in a .ini file...

non-www to www redirect

Why you have to do the non-www to www redirect? Some of the users follow the conventional method of typing the URL from www. if your website does not support this then there might be chances that your website is not loaded. Why to take chances. How to redirect your...

Denny or allow access for IP ranges

We can block a single domain or a complete range such as entire countries. deny from 99.1.0.0/255.255.0.0 To allow Range of Multiple Ip address: allow from 99.88 99.88.77 11.22.33 Place these code in .htaccess

Automatically CHMOD various file type

Several sites have been harmed due to improper permissions. This interesting hack gives the site a semi-auto healing mechanism. Warning: Your mileage may vary. {code type=PHP} #Ensure CHMOD settings for specified file types # remember to never set CHMOD 777 unless you...