<?php require_once("HTTP/Download.php"); $params = array( "contenttype" => "text/plain", "contentdisposition" => array(HTTP_DOWNLOAD_ATTACHMENT, "pass.txt") ); $download = new HTTP_Download($params); $download -> setData("あなたのパスワードは xxxx です"); $download -> send(); ?>