Archive for the ‘PHP’ Category

I’m involved in the development of a large web application (using Zend Framework) with many different types of entities inside! Some functions performed on these entities should be accessible to some users but not others… To make things more interesting users can assign other users with rights to these entities… We’re going for a hands [...]

Zend_Auth bug with MS SQL

Posted: 6th September 2007 by Grant Perry in PHP, Zend Framework

Currently Zend_Auth won’t work if you’re using a Micrsoft SQL Server database for storing your account credentials. This is because of a bug in the \Zend\Auth\Adapter\DbTable.php specifically in the authenticate() function. The SQL Statement it generates is not MS SQL friendly: SELECT "users".*, "credential" = ‘mypass’ AS zend_auth_credential_match FROM "users" WHERE ("identity" = ‘me’) Consequently [...]

There’s a lot of buzz with Frameworks and Libraries these days, and rightly so, without them some projects I’ve worked on would still be under construction!!! Developing with frameworks and libraries will save you time in both development and testing. The abundance of functionality some provide often mean you’ll end up with a better end [...]