How to use Zend Framework Database functions for other application

- Include Zend library using set_include_path or .htaccess
- include 'Zend/Db/Table.php';
- $db = Zend_Db::factory('Pdo_Mysql', array(
'host' => 'localhost',
'username' => 'userName',
'password' => 'password',
'dbname' => 'dbName',
));

How to redirect with parameters in Zend Framework

$this->_helper->_redirector('action','controller','module',array('param1'=>'value1'));