Category Archives: Coding

All kinds of Programming.

15+ tips to secure your php application

By | April 7, 2012

Php is used to write web applications which are online and publicly accessible. Therefore security is a fundamental necessity of these applications to keep the data safe and free from unauthorized access. Below are a bunch of simple tips/hacks/ideas to design your php applications to have better security. The Code 1. Avoid short tags If… Read More »

Execute shell commands in PHP

By | March 27, 2012

Like any other language php applications often need to execute system commands like they are run from the terminal/console/commandline. Php has multiple functions to do this task. Lets take a look at each of these 1. system “system() is just like the C version of the function in that it executes the given command and… Read More »