Category:

Enable/Disable debug mode in cakephp

In this tip i will show you how to enable/disable error reporting / warning , or debugging in cakephp. Step 1. Go to cakephp\app\Config folder and open core.php . Step 2. Now find Configure::write(‘debug’, 0); Now you can change the value of debug to 1 or 2. * Production Mode: * 0: No error messages, errors, or warnings shown. Flash messages redirect. […]

Continue Reading
Posted On :
Category:

Working with date in PHP

Here is a simple tip if you are working with Date and time in php. PHP provide some method which are really very helpful to help you. We commonly have two different method which very powerful to calculate difference between date. Method 1. The easiest and most common method is strtotime(time());  Method 2. Second method is […]

Continue Reading
Posted On :
Category:

Upload image using ajax jquery

In this tip i will help you  to upload image using  jQuery without using any other jQuery plugin. You can also check some other jQuery Tutorial’s. CODE First create new html file in your favorite  text editor and copy below code. Before start writing code add jQuery plugin or jQuery CDN. Created simple html form for uploading image. […]

Continue Reading
Posted On :