News Feed
Jobs Feed
Sections




News Archive
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
July 10, 2007 @ 09: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.

0 comments voice your opinion now!
sfdoctrine symfony framework plugin email domain validate sfdoctrine symfony framework plugin email domain validate


blog comments powered by Disqus

Similar Posts

Reddit.com: How do you test email when in development?

Felix Geisendorfer's Blog: Validating the cleaned output of HtmlHelper::dateTimeOptionTag()

Tony Bibbs' Blog: Join me at the 2008 DC PHP Conference (Frameworks Talk)

PHPied.com: AJAX MVC (so to speak)

Phil Sturgeon's Blog: Why Write A New Framework?


Community Events











Don't see your event here?
Let us know!


project composer symfony2 performance database framework security component introduction hack install language podcast application package hhvm unittest threedevsandamaybe release facebook

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework