Location: PHPKode > projects > PhpwdManager > phpwdmanager/contents/export.php
<?php

require_once("includes/config.inc.php");
require_once('HTTP/Download.php');

class export extends base 
{ 
  function onInit($param)
  {
  	parent::onInit($param);
  	
  	$params['file'] = urldecode(base64_decode($_GET["file"]));
	$params['ContentDisposition'] = array(HTTP_DOWNLOAD_ATTACHMENT, 'accounts.txt');
	$h = &new HTTP_Download;
	$h->setParams($params);
	$h->send();
  }
} 

?>
Return current item: PhpwdManager