I tried to add a featured image to the previous post i created but it gave me the following error:
Unable to create directory uploads/2014/08. Is its parent directory writable by the server?
The same error occurred when i tried to add a new media item to the same post. Continue reading
It’s almost 5 years when i purchased my first laptop. It was Dell Inspiron 1440. This was the first and the only laptop i have had bought for myself till date. After buying this one didn’t feel need to buy another one as this one still runs very smooth and problem free. Continue reading
Sometimes you wanted to update columns of one MySQL table by quering another MySQL table and getting a column value from the later table. For example you have a ‘students’ table and you wanted to create a new field ‘totalMarks’ in it and wanted to fill or update by taking sum of the ‘marks’ field from another table named ‘marks’. Here comes the use of subquery to update column. Continue reading
I frequently need to check this list as i have got two active Airtel activated sim cards and one of them is a post-paid sim. The given list of Airtel prepaid tariff plans for Punjab circle is on the Airtel website itself and i dont think i am going to be responsible for any mistake in the list, haha.. Continue reading
WordPress keys and salt in wp-config.php work as an important security measure. These “impossible to guess” and hard to remember and understand keys work as salt for WordPress Cookies data store in your computer for your WordPress website information. These security keys ensure better encryption of data. Continue reading
Here is the latest CakePHP Captcha support for CakePHP Version upto 3.x.
Download for CakePHP 3.x
Download for CakePHP 2.x
NOTE:For best Image Captcha results this component requires GD and Freetype support enabled. Please check your phpinfo() to know whether your server supports this (See image below). Contact your hosting provider if any of these libraries is not enabled.
What is this Custom Post Menu Sort Order plugin?
This is a plugin to sort WordPress posts using simple drag and drop method. Custom Post Menu Sort Order plugin has a settings page where one can choose the post type for which this plugin should load the sorting mechanism. Continue reading
Here are a few useful PHP debug functions.
I wrote a similar post sometime ago posting the abbreviated “pr” function as a shorthand replacement for the “prinr_r” or “var_dump” functions. Since then this function has changed a bit so re-posting it here with the improvements. With the new updated function one can restrict the output to screen for specific IP address only. Continue reading
You can print the table structure of MySQL table in PHP using simple php script. All you need to do is to make a ‘describe table’ call and process it using php script, similar to one you use to print or get records from a mysql table. This can prove to be a very useful piece of code in, Continue reading
For 2.0 – The bootstrap-datetimepicker is one of the very best Date/Time Picker for Twitter Bootstrap. It can be downloaded from this link. Continue reading