Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dave Dash's Blog:
Using sfDoctrine to match allowed email domains
Jul 10, 2007 @ 14:26:00

On the Spindrop blog today, Dave Dash posts about how he used the sfDoctrine plugin functionality to match allowed email domains for their website's registration.

I'm a co-founder at an online finance web site and I'm in charge with building out the site. Our rollout strategy is to let a a handful of companies at a time, so we're limiting registration based on your company's email address. I decided to follow the bandwagon and use PHP Doctrine.

His example code sets up the company information in objects that are validated against from a validateSignup (and match) function in the application.

tagged: sfdoctrine symfony framework plugin email domain validate sfdoctrine symfony framework plugin email domain validate

Link:


Trending Topics: