PNG Files Transparency Problem(Grey Color) in Internet Explorer

Internet Explorer below 7.0 does not support 24-bit alpha channel transparent PNG images. PNG image background turn into gray color rather then transparent. IE version 7 and above completely solved this issue and fully support PNG images.? Other modern browser such as Firefox, Opera, Flock support png images from start.…continue reading →

Create JavaScript Confirm Box for Record Deletion

Confirmation before deletion of record is very useful to preserve data from accidental record deletion. With confirmation process will be in two steps. Here is the javascript way to ask user whether they want to delete record or not. <a onclick="return confirm('Are you sure you want to delete?')" href="page.page?act=delete&id=1">Delete</a> You…continue reading →
Instantly Clear Google Search Box History

Instantly Clear Google Search Box History

Google Search Box History is a good tool for web surfer who want to track of their search history. It is very useful sometime when we forget what we have browsed. But at the same time it curious for the people who love their privacy. Because it make available to…continue reading →

Web Hosting With CloudFS Cloud Hosting Technology

Cloud Hosting Technology is advanced new technology adapted by few web hosting providers. The technology works over the fleet of computers called hosting cloud that built to meet certain goals set by the hosting provider.? In the cloud hosting, deployed application automatically inherit clustered processing, load-balancing, and redundant storage depend…continue reading →

What is Difference Between DNS CNAME & A Record

CNAME stands for Canonical Name for a domain. CNAME is an alias records that create association between a sub-domain and antother domain or subdomain. And, A Record simply creates an association between a domain/sub-domain name and an IP Address. Example CNAME gallery.bala-krishna.com -> gallery.another-domain.com -> 64.1.236.65 you can see above…continue reading →

How To Clean Special Characters From PHP String

If you are looking for the PHP special characters clean function then this post might be useful for you. This function can used to remove special character as well as able to replace specific character with other equivalent character or string. Here is detailed explanation of function: $specialCharacters Array: This array used to replace special character with other character or string. if you want to interchange (+) with (plus) then you need to specify in the array. You can add/remove array element according to your requirement. strtr function: This function used to replace other language special characters to plain English character. You can remove this line safely but ensure before that these characters not in your string and you don't need to remove them. Last 4 line used to remove other unknown unwanted special characters. [sourcecode language='php'] function just_clean($string) { // Replace other special chars $specialCharacters = array( '#' => '', '$' => '', '%' => '', '&' => '', '@' => '', '.' => '', '€' => '', '+' => '', '=' => '', '§' => '', '\\' => '', '/' => '', ); while (list($character, $replacement) = each($specialCharacters)) { $string = str_replace($character, '-' . $replacement . '-', $string); } $string = strtr($string, "ÀÁÂÃÄÅ? áâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ", "AAAAAAaaaaaaOOOOOOooooooEEEEeeeeCcIIIIiiiiUUUUuuuuyNn" ); // Remove all remaining other unknown characters $string = preg_replace('/[^a-zA-Z0-9\-]/', ' ', $string); $string = preg_replace('/^[\-]+/', '', $string); $string = preg_replace('/[\-]+$/', '', $string); $string = preg_replace('/[\-]{2,}/', ' ', $string); return $string; } [/sourcecode]
WordPress 406 Not Acceptable Error Fix

WordPress 406 Not Acceptable Error Fix

I just received "Not Acceptable Error while i tried to edit post in Word Press 2.5. Earlier, It was working fine but in the previous post i get annoying error when i tried to save and continue my article. But soon i realize cause of the error. Again, the error…continue reading →