Kurinchi Blogger Scribbles …


Archive for March, 2009

Mar 06
2009

MySQL Case Sensitivity

Last updated: March 10th, 2009

Is MySQL Case-Sensitive?
The SQL syntax is NOT case-sensitive in MySQL.

If the application written in PHP/Perl or other languages were to be used in Microsoft & Linux environment, then it would really be an issue for the database administrators and for the programmers.

That is the reason why you might have noticed books or sites saying that it is always recommended to treat MySQL syntax as being case-sensitive.

It was interesting to learn that the database name remains case sensitive.

Mar 05
2009

Simple ways to Disable Context Menu in Browser

Last updated: April 13th, 2009

How to disable context menu and hence disable Browser Back button?

In programmers life, there comes a situation where he/she had to disable the browser back button functionality or the back button feature on the context menu (the menu that appears when users right click on the browser content).

A simple way to disable Context Menu in browsers will be to use javascript as follows …

<html>
<head><title>How to disable content menu Back button?</title></head>
<body onContextMenu="javascript: return false;" >
<h1>Sample Text</h1>
<span style="font-size: 1.5em;">Check the CSS of this styling in the source file</span>
</body>
</html>

CSS related hint: I have used font size of 1.5em to emphasize on how “em” (the “M” space) can be used to increase the font size of the texts relatively.

Mar 03
2009

SELinux: AVC Denial phpmyadmin does not work

Last updated: March 11th, 2009

SELinux: AVC Denial. SELinux is preventing httpd from using potentially mislabelled files (var/www/html/phpmyadmin)

And in the browswer window you get the error “Forbidden” when you go to http://localhost/phpmyadmin

>> setenforce 0 (execute this command to check if SELinux is the culprit)

Then check if phpmyadmin works in the browser.

Mar 01
2009

Peek-a-boo Bug in IE6

Last updated: March 1st, 2009

Peek-a-boo Bug in IE6 and the possible solutions

When we design a liquid layout, the more common case of this bug appearing in pages will be when you design a <div> layer next to another <div> layer each set to float. It occurs in IE6 and is taken care of in IE7. (more…)


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict