Tag

Programming

Hidding IIS web server header

Google for long time regarding how to hide the HTTP header for IIS in order to mask the server identity and finally found out this tools call URLScan. Basically URLScan is an ISAPI filter that allows Web site administrators to restrict the kind of HTTP requests that the server will…

HTML table word wrap

I created a table to display a link which consist of a long verification code plus some variable to pass to the web site. There is no any space within the long url and query string. This is not the problem, the problem is on my table, because of the…

Get the array lenght in Coldfusion

When dealing with array, we cannot run away for looping. Because only with looping, you can cut short your hard coded script to read the value from array. And also you no need to worry about the dynamic of array. Arraylen is the function that determines the number of elements…

Disabled certain key to be entered using javascript

There is always the good way to prevent and verify the using enter data, especially for each text box or text area. The following is script use the event object to check on the key code that the user enter, return false to prevent user to enter. Disabled space to…

Convert varchar into math calculation

I try to google, call, msn my friend to find out the solution when I stay back in my office until late night yesterday. But still no luck after few hours of trying. Thinking of gave up when back to office this morning, but one of my friend suddently send…

Get the number of row in database table

Normally to get the number of row for a particular table, where we will do is as the following query: select count(*) from Table_name Yes, you may get your result very fast if your table is very small, but if your table is more then 100k rows, then you may…

T-SQL: Concatenate something + null=null

This whole morning just spent about 1 hours+ just to try out one very simpel query on MS SQL 2005. I keeping get the null value whenever i run this query, even in my program or run directly from the MS SQL 2005 management studio. Finally I found out that…

Notepad2

If you are looking for any light, syntax highlight, simple yet useful text editor for your programming, then you should have a look on the Notepad2.   Notepad2 is  open-source Notepad like application for Microsoft Windows, which released under the BSD software license.    Notepad2 is develop by Florian Balmer using the Scintilla…