[dev] IMP Emprty Trash Folder menu item

Jon Parise jon@horde.org
Wed, 13 Feb 2002 15:46:01 -0500


On Wed, Feb 13, 2002 at 02:07:23PM -0600, Marcus I. Ryan wrote:

> (2) Is there a way to execute a mailbox.php empty command with an option
> that will redirect it back to the current location when it's done?
 
Just add a new $actionID constant to perform your task.  You'll
need to know your previous location, but once that's done, just
use Header('Location: ' . $foo).

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member