For some reason, this was a nightmare to figure out. All I wanted to do was call an oracle function from the Zend Framework using PDO_OCI as my database adapter. After a FULL DAY of research and testing, I finally found some code that works! The Database Adapter I use a configuration file for my […]
09
Nov
WordPress index.php Redirects to Base Url
Problem Recently, I was working on a website that needed to display a temporary home page, while an installation of WordPress was being worked on. The custom home page was being displayed as index.html. WordPress uses index.php, combined with mod_rewrite, to handle all requests coming into the site. The server I was using would show […]
17
Sep
Zend_Auth and Active Directory
I just worked on a login application that connects to Active Directory using Zend_Auth and Zend_Auth_Adapter_Ldap. The application uses the Zend Framework and components of Zend_Form. Server Settings First of all, the web server has to have the ability to connect with LDAP. To do this, it has to be enabled in the php.ini file. […]