You might face permission problems while editing and saving some system files on Windows. While searching something over there i found this information as a possible fix for such permission warnings.
A note on difference between app:import and loadmodel in CakePHP
Posting for, someone searched for terms “cakephp what is the difference between app:import model and loadmodel” and “cakephp what is the difference between app:import and loadmodel” and landed on my blog page but unfortunately i could not provide the answer…
Setting up a catch-all email forwarder and parsing emails using php
In one of my ongoing projects i had to set up a “catch-all” email parsing script. Here’s how it came out to be. What is catch-all? In the context of emails, “catch-all” refers to a destination to which all incoming…
SQL dump file for CakeDC comments plugin for CakePHP
If they (CakeDC people) don’t have complaint of any kind or whatsoever i would like to post the SQL dump code for comments table used in CakeDC comments plugin. Especially, those having problems with generating database table or query through…
Auto linking text string having image tags using Text Helper in CakePHP
Recently I found that auto linking urls and emails of a string having image tags within was not possible using text helper in CakePHP. It would try to autoLink url of image src and thus it is broken. I am…
A php tool for adjusting or correcting time of subtitles of a video movie
As English is not my mother tongue i do like (at least first time) subtitles running while watching an English movie. This time while i was watching another movie the only subtitles’ file i found over there had a straight…
Getting current page url and title for social network sharing in WordPress
Today i added a few social network sharing buttons i.e. facebook, twitter, delicious, myspace etc. to the right side column of this very blog. To make it work as desired I had to do some extra bit of effort to…
Field type tinyint(1) would not save values other than 0 and 1 in CakePHP
Just a quick note. I had a “is_active” field in my users table which i had been using to store boolean 0 and 1 values. Later, i mean today, i decided to save a new value -1 to this field…
Making line-through color to appear different than the text (using CSS)
I am posting a simple trick to make the color of line-through line to appear different than the stricken text. I had to recall this trick actually as we rarely use it and i guess i myself never used it…
A few notes on joining a MySQL table to itself to get unique combination of field data
Just a few notes on joining a MySQL table to itself to get unique combination of data stored in its fields. Suppose we have a MySQL table named `keywords` having fields `word1`, `word2` and `word3`. Once we have got a…