Different code editors do have different keyboard shortcuts to do Capitalize, Uppercase and Lowercase of text. Generally, i use EditPlus as code editor which has shortcuts for uppercase and lowercase but it does not seem to have a shortcut or even option to do capitalization of text content. Invent of this tool resulted from this particular necessity Continue reading
Category Archives: ToolsArchive
A straight forward redirection using .htaccess. Note that the domain name should be omitted from From address and it should always be there in To address, even if the redirection is on same server.
<IfModule mod_rewrite.c> RewriteEngine On redirect 301 FromAddress ToAddress </IfModule>
1)Rewriting product.php?id=12 to product-12.html
It is a simple redirection in which .php extension is hidden from the browser’s address bar and dynamic url (containing “?” character) is converted into a static URL. Continue reading
One page guide on creating a new modules to create home screen widget in ActiveCollab3 application.
First we need to create a directory for our module. We are going to create it under a /path/to/activecollab/custom/modules directory (where /path/to/activecollab is full path to activeCollab on your disk). For our example we are going to create my_reports directory: Continue reading
Posting a link to the working example of HTML Form to PDF using “ezpdf” php class. I added some code to this class in order to create more advanced HTML tables cells with borders as shown in the output PDF document. Continue reading
How to debug a live website built in php?
Here’s a basic, simple and custom method i usually use to debug live or production web applications (web sites).
First of all i place the following lines of code in a config.php or somewhere so it is loaded in all targeted pages of the website. Continue reading
I received news documents (.doc files) written in Krishna(Devanagari ) font from my state government’ press release department and i wanted them posted in one of my blog sites, as it is. I posted some of them as it is and they were displayed well but only on the systems/computers having Krishna font already installed. Continue reading
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 delay of 16 seconds at the beginning. In fact , the VLC player which i normally use to play movies does have an ‘advanced option’ to handle delay of subtitles but in my somewhat special case it too failed to handle it properly. In fact i wouldn’t been bothered what i had eventually to do if i could find a most matching subtitles file but i wasn’t lucky enough. Here’s the case that made me to write this small tool: Continue reading