Tuesday, September 23, 2008

Handling the Javascript Errors

1.Method using onerror event

onerror=handleErrors; //Invoke the method here

//Method definition

function handleErrors(msg,url,lineno)
{
//Here we will get the error message along with page url with lineno so tracking the error will be easier
//Handle the error here
return true or false
}


2.Try and Catch block

try
{
//Run some code here
}
catch(err)
{
//Handle errors using error object
}

Tuesday, September 2, 2008

Creating a Secure PHP Login Script

This morning i was going through some article which tells about the methods that we can approach for secure login.You can check it in http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/

Wednesday, August 27, 2008

How to use MySQL REPLACE function

update my_table SET `my_field` = replace(`my_field`, "old_text", "new_text")

Head over for more details to http://www.webmasterworld.com/forum10/8113.htm

Tuesday, August 19, 2008

Picking datatype for status field

Quite commonly in the applications you would need to use some kind of “status” field - status of order - “new”, “confirmed”, “in production”, “shipped” status of job, message etc. People use variety of ways to handle them often without giving enough thought to the choice which can cause problems later.For more details on this topic you find it on http://www.mysqlperformanceblog.com/2008/08/09/picking-datatype-for-status-feilds/

Wednesday, August 13, 2008

How to filter posted data easily in PHP?

Today i found one good article on how to filter the posted data in php.You can find the same in
http://roshanbh.com.np/2008/08/how-to-filter-posted-data-easily-in-php.html#more-217

Tuesday, August 12, 2008

ab - Apache HTTP server benchmarking tool

ab is a tool for benchmarking your Apache Hypertext Transfer Protocol (HTTP) server. It is designed to give you an impression of how your current Apache installation performs. This especially shows you how many requests per second your Apache installation is capable of serving.

You can find more details on how to use benchmark tool in below mentioned link.

Reference:

http://www.cyberciti.biz/tips/howto-performance-benchmarks-a-web-server.html

Friday, July 4, 2008

Riding carousels with jQuery

jCarousel is a jQuery plugin for controlling a list of items in horizontal or vertical order. The items, which can be static HTML content or loaded with (or without) AJAX, can be scrolled back and forth (with or without animation).

Reference:

http://sorgalla.com/jcarousel/

Thursday, July 3, 2008

Adobe(R) Acrobat(R) 9 Pro Extended

Check Out the New Adobe® Acrobat® 9 Pro Extended software.Now it includes Adobe Presenter, Adobe LiveCycle® Designer ES, and Adobe 3D Reviewer software.

You can embed Web Links, Video on Web Page, excel sheets, PowerPoint animation, transitions, & speaker notes within the PDF.

Refer the Link
http://www.adobe.com/products/acrobatproextended/