Except this way you get logging, debugging, and a host of other features :-)

Just remember what things were like before PDO... or even PEAR.

Jevon

On Wed, Mar 3, 2010 at 11:35 PM, Richard Clark <[email protected]>wrote:

> People got more interested in classes and adapters and brokers and
> swimming in a sea of abstract patterns than they did in producing
> results. And we all lost out as a result.
>
> On 3 March 2010 23:27, Keith Allpress <[email protected]> wrote:
> > I wanted to redirect to the current uri in a zend front controller plugin
> so
> > I started typing
> >
> >
> >
> > $redirector =
> > Zend_Controller_Action_HelperBroker::getStaticHelper('redirector');
> >
> > $redirector->gotoUrl($request->getRequestUri())->redirectAndExit();
> >
> >
> >
> > Then it struck me whatever happened to
> >
> >
> >
> > redirect($_SERVER["REQUEST_URI"]);
> >
> >
> >
> > Chuckles
> >
> >
> >
> > [email protected]
> >
> >
> >
> > --
> > NZ PHP Users Group: http://groups.google.com/group/nzphpug
> > To post, send email to [email protected]
> > To unsubscribe, send email to
> > [email protected]<nzphpug%[email protected]>
>
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]<nzphpug%[email protected]>
>

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to