Introduction to PHP’s PEAR classes : Comparing normal Database connections with PEAR classes.

PHP Database Abstraction: Abstraction is a technique which simplifies something complex. It does this by removing non-essential parts of the object, allowing us to concentrate on the important parts. PEAR’s DB classes are one such database abstraction layer, and inContinue reading… Introduction to PHP’s PEAR classes : Comparing normal Database connections with PEAR classes.

Difference between String str=”abc” and str=new String(”abc”)?

1) using new operator:- String st=new String(“abc”); 2) Without using new operator:- String st=”abc”; Once string object is created with or without new operator contents of string object cannot be modified. But we can modify String reference variable. when youContinue reading… Difference between String str=”abc” and str=new String(”abc”)?

File upload code in Jsp : other methods ….

On the client side, the client’s browser must support form-based upload. Most modern browsers do, but there’s no guarantee. For example, <FORM ENCTYPE=’multipart/form-data’ method=’POST’ action=’/myservlet’> <INPUT TYPE=’file’ NAME=’mptest’> <INPUT TYPE=’submit’ VALUE=’upload’> </FORM> The input type “file” brings up a buttonContinue reading… File upload code in Jsp : other methods ….