Archive for the ‘Programming’ Category

try and catch block in php

Thursday, October 30, 2008 8:47 1 Comment

Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception. Try block is used to try for the code to execute if any error like file unable to open etc.. It will stop the execution and it will throw [...]

This was posted under category: PHP, Programming Tags: , , ,

Redirecting in PHP.

Wednesday, October 22, 2008 21:54 3 Comments

You may require to redirect a page in PHP for serveral reasons. The cause may be to redirect the visiter to the new page, when they try to visit a page that is removed or redirecting the user from current page if he exceds some time limit or to reload the page content with updated [...]

This was posted under category: Programming Tags: