By Nitin on October 16, 2009
Most of the bloggers ignore various security loop-holes in their WordPress installation, thinking that the chances of Crackers intruding their small and unpopular websites are slim. Never even think of this. No one is going to check your page rank or Alexa rank before hacking your site, so better secure it now than to regret [...]
Posted in Wordpress | Tagged apache, htaccess, security, Wordpress
By Nitin on October 3, 2009
Recently, while working on my project FeedAPI ImageGrabber I came across the issue where I had to select HTML elements by a given css class. The HTML element can have a single CSS class: <div class="foo"></div> or multiple CSS classes associated with it. <div class="foo exp tar"></div> Now if you want to select the HTML [...]
Posted in Drupal | Tagged css, Drupal, php, xpath
By Nitin on September 20, 2009
Updates: Feeds Image Grabber has been released to support the new Feeds module. (3 march 2010) Tutorial for Feeds Image Grabber (FIG) published. (6 march 2010) Demonstration Website is available here. (6 march 2010) I get a lot of requests for this, so here is a tutorial explaining the 3 W’s (What, Why and How) [...]
Posted in Drupal | Tagged Drupal, feedapi, imagegrabber, module, tutorial
By Nitin on September 16, 2009
PayPal is used by a lot of online merchants to accept payments for the products they sell online. PayPal can also be used to accept donations for your technical open source projects or charity organization. Recently, I opened an account with PayPal to accept payments from my clients who reside outside India. Before I started, [...]
Posted in Nitin's Blog | Tagged Drupal, paypal
By Nitin on July 17, 2009
Often we need MINUS operator as defined by the SQL definitions i.e you have two sets P and Q and you want P-Q which gives all the elements in P that are not in Q. But unfortunately, MYSQL does not have any operator for such an operation (yeah, I had the same reaction when I [...]
Posted in Nitin's Blog | Tagged Intern, mysql
By Nitin on July 15, 2009
Until sometime back, I was unaware of how I could get the value of an auto-incremented field after an Insert Statement. But recently I needed it for two of my projects simultaneously, so I explored the possibilities. As one of my project is in Java and other is in PHP, we will go through both [...]
Posted in Nitin's Blog | Tagged Intern, java, mysql, php