If your image upload is not working in internet explorer 7 or internet explorer 8 but it works in IE6, most probably this is because IE6 uses standard MIME type for images but IE7, IE8 uses new MIME parsing library So, if your website allow users to upload images and you are using basic MIME [...]continue reading..
You can dynamically populate drop-down using JSON data. Either you can create a JSON object from database or get the JSON content from a file and populate drop-down depending upon the value of first drop-down. JSON data should be in such a format so that key should be the value of first drop-down and associated [...]continue reading..
Joins are used to optimize SQL query. Most of the difficult tasks and data retrievals can be doen using Joins. SQL Joins are live saver and every developer who use database must know how to use SQL joins. Joins are helpful in avoiding nested and multiple select statements which are sometimes not optimized. Programmers are [...]continue reading..
Sometimes we need to get into MySQL to delete post in bulk. If you are using autoblog poster and you want to delete post within a date range or in a particular directory this SQL script is very handy for you. If you search for plugins you might come up with many . I searched [...]continue reading..
This is very simple script which explains how to use JSON file to generate HTML table. including all the packages. It is important to include JSON package before trying to use JSON in your perl program. #!/usr/bin/perl -w use JSON; use CGI; use CGI qw(:standard Vars); use CGI::Carp qw(warningsToBrowser fatalsToBrowser); use strict; Creating header for [...]continue reading..
Java does not have move file file function in io. You can copy the file in destination folder and then delete the original file. Below is the function which take a filename, from location, to location and copy the file. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 [...]continue reading..
What features we should look when we choose the IDE 1. Easy to use 2. Access to Documentation 3. Testing integration 4. Autocompletion 5. Code refactoring: Refactoring code should be easy, Renaming affects dependencies/Extract Method/Extract interface etc. 6. Language support: Support for variety of programming language (e.g. If working with Ruby it should also support [...]continue reading..