Monthly Archives: July 2012

Archive

Choosing a business listing directory script written in php

I got a new client today who wanted a brand new website equipped with business listing directory feature. According to him, the script should be in PHP, does not cost much and meets all requirements of a basic business listing directory. It should support multiple image uploads for a listing, be able to do rating(optional) and reviews, supports (paypal IPN) payment method, provides google map locator facility and finally be equipped with small CMS to create some content/article pages, that’s all. Continue reading

How to update a mysql table with the count of another table while using like statement

While working on a web links directory i wanted to update categories table’s num_listings column with the count of listings under each category. The category id was stored something like this in listings table: Continue reading

How to create a keyboard shortcut to open an application / program in Windows 7

Following step by step instructions to create a keyboard shortcut to a program in Windows 7. Continue reading

Template drop down list missing in edit page in wordpress

Last night i installed a new theme to this blog of mine and after setting basic things up when i went to edit my archives page at admin end the Template drop-down in Page Attribute box was missing. Strange. I searched over the issue and found some good resources explaining ‘how and why’ of the problem and some remedies as well to bring the Template Drop down(box??) back. Here are two of them: Continue reading

phpMyAdmin PHP Code Injection Exploit attempt on my server

This morning, when i checked my Give Back India site’s access log i found some scripts/setup.php request attempts. In fact, not ‘some’ but hundreds of them. All requests were made targeting phpMyAdmin’ installations on my server. Here are a few of them: Continue reading

Converting a text string into comma separated words

Today, i was looking at some old code of mine to find something when i found this little but useful piece of code which i had written for one of my old projects (and of course when i didn’t had this blog created yet). The idea was to create comma separated words from a string, something like, creating meta keywords from a piece of information (such as meta description). Continue reading

Changing “Remember Me” text string in user box in Joomla 1.5

I wanted to change “Remember Me” text in the user login box in Joomla 1.5 to just “Remember” so that it should fit with the login button to the right of it while keeping them in same row. Continue reading

Krishna font text to UTF-8 (Web Content) Converter

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