Hey,

I'm experimenting with the ZF but I'm having issues. I thought that I had fixed it, but after a quick test, I can see that it doesn't work. What I'm trying to accomplish is to use the framework by just using:

PHP Code:
require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload(); 
And then after initiating the Zend Loader continue developmenting, without worrying about the MVC structure.

PHP Code:
<?php

error_reporting
(E_ALL|E_STRICT);
ini_set('display_errors''on');

//include paths
ini_set('include_path'ini_get('include_path') . PATH_SEPARATOR '../library');
require_once 
'Zend/Loader.php';
Zend_Loader::registerAutoload();

$connection = new Zend_Db_Adapter_Pdo_Mysql(array(
              
'host' => 'localhost2222',
              
'username' => 'root2',
              
'password' => '',
              
'dbname' => 'cms2'));

if (
$connection)
  echo 
'Connected';
else
  echo 
'Failed';
?>
I just tried to connect to a database on my localhost and it always displays Connected. The actual host, username, password, and dbname values are, localhost, root, no password, cms. I had changed the values to something random to test it.