Category

Programming

phpBB open source forum application

Because of I need to handle a project in my comany which include the forum features, but the language is Chinese Simplify, so I manage to find out this 9 years old product. phpBB is a free and open source forum application. phpBB was created in June 2000 as UBB-like…

phpBB Forum user registration integration

Just working out on the phpBB3.0 on the user registration integration with the main web site. Because of I plan to write the main web site using the coldfusion + MS SQL, so the only way as I may thinking of to do the integration is write a web service…

URL Hidden Tricks to check page's last update

Check the page’s last update date Go to any web site as you like Delete the content in the URL address bar Enter the following script javascript:alert(document.lastModified) Press Enter This code will display any web page’s last update including the specific time, so by using the this script, you 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…

SQL Server Do's And Dont's

So, you are now the leader of a SQL Server based project and this is your first one, perhaps migrating from Access. Or maybe you have performance problems with your SQL Server and don’t know what to do next. Or maybe you simply want to know of some design guidelines…

Attaching event in both MSIE and FF with Javascript

Most of the developer who working in MS platform will be used to the javascript window.attachEvent. But maybe some of you don’t know that window.attachEvent is only working on IE7+ and Opera only. Your coding will hit an javascrpit error when running at IE 6 or any version of firefox.…

Advance SQL Injection

There are a lot of web site attacking method now a days, one of the most attacking method that we can easily found is the SQL Injection. First of all, before you know about the SQL Injection, you may need to know what is SQL. Structured Query Language (‘SQL’) is…

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…