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]

Reply via email to