Just when I was loosing all hopes about CodeIgniter, yesterday EllisLab announced about their move to assembla and mercurial, in that there was a small but significant news about CodeIgniter 2.0. A quick look into the change log revealed PHP 4 support is deprecated. Features new to 2.0.0 may not be support PHP 4, and […]
How to get Latitude/Longitude from an address (or Geocoding ) using PHP
While Google’s documents for maps API does good job in showing how to get lat/long from an address in JavaScript they do not really show any example of doing the same with PHP. So to make you life simple here is a small script in PHP that does that. $geocode=file_get_contents(‘http://maps.google.com/maps/api/geocode/json?address=573/1,+Jangli+Maharaj+Road,+Deccan+Gymkhana,+Pune,+Maharashtra,+India&sensor=false’); $output= json_decode($geocode); […]
Backup your WordPress blog to Rackspace Cloud Files
Update : This plugin is not available any more. You may want to check http://pluginbuddy.com/purchase/backupbuddy/ We all have heard of importance of regular backups, but for a long time I had neglected it for my blog. But recently things happened that prompted me to take backups. While I was looking for option to keep backups, […]
PHPCamp is Back
Preparations are on for second edition of India’s biggest un-conference for PHP developers. It is going to be held on 9 January 2010 at Symbiosis Centre For Distance Learning, Pune. Check out the talks and if you think you can give a better one then please propose your talk. If you have not registered yet, […]
How To Fix MySQL Error – Error Code 30
Yesterday was one of those days when things that can go wrong went wrong and today was MySQL day, and problem when accessing any table on a live site resulted in following error MySQL Error – Can’t create/write to file ‘/tmp/#sql_7d3f_0.MYI’ (Errcode: 30) It took me some time to figure out that the error was […]
Barcamp Pune 6
The 6th Edition of Barcamp Pune is back in town on 14th November 2009 after almost an year. If you don’t know what is Barcamp check out the nice article by PuneTech and if you are students then why you should bunk the college to attend it. My first Barcamp was Barcamp Pune 3, which […]
Where is MySQL Gone Away?
Last Sunday I got to work on a very interesting problem in WordPress which I initially thought could be solved in like 5 mins, but alas it took me almost 7 hours before I found and fixed the problem. Let me describe the problem, I was running a simple xml parsing script whose task was […]
Media Manager Browse Button Disabled In Joomla
Problem : No matter how many time you click on the media manager’s browse button nothing happens. It used to work few days back but not any more. It is as if the the media manager buttons has been disabled. If you were facing these problems it is most probably due to the Flash uploader […]
How to use SVN and Git together to get the best of both worlds in Windows
I have been using SVN to manage my source code for last three years, I can say I am quite happy with it, except for one problem, it was not possible to commit the code unless I was directly connected to my office network. Then I heard about DVCS and Git. I found solution to […]
Joomla Day Pune(India)
On 25th April 2009 we hosted first ever Joomla Day in India. This was made possible by support of Parth and Ashwin who forced me to also think about Joomla Day in last years PHPCamp, where we were planning for Drupal camp. They were later joined by Shardul, who was already pushing for Joomla day […]