First of all thanks for firepage bundle and help I got through this forum.
I have downloaded firepages bundle on 2k system and installed it. Apache, PHP, MySql are working without giving any problem so far.
I need to know how to connect to database from PHP code. Generally I use this code for same.