Category Archives: Coding

All kinds of Programming.

Php – Do not rely on set_time_limit too much

By | June 5, 2013

Php set_time_limit Php has a function called set_time_limit which can be used to dynamically adjust the maximum execution time permitted to a script. It allows specifying the time in seconds and limits the script execution time to that many seconds. The set_time_limit function whenever called, effectively extends the script execution time by that many seconds…. Read More »

Optimise your database design for speed and efficiency – Part 1

By | April 10, 2013

Database schemas Databases are present in almost all kinds of application that need to store information in some form or the other. Web applications like blogs, cms, social networking sites or business applications etc all have a database along with the code. The database design or schema determines how the tables and their relationships are… Read More »

Disable output buffering on stdout in c

By | March 28, 2013

Like other languages output buffering takes place even in C. Output buffering will cause output of a program to appear in chunks after long intervals, instead of each line appearing the moment it is output. To disable output buffering a very strange piece of code has to be written which looks like this //disable output… Read More »