HTML_CSS::setContentDisposition - PHPプロ!マニュアル
- HTML_CSS::setContentDisposition
HTML_CSS::setContentDisposition
Synopsis
void|PEAR_Error HTML_CSS::setContentDisposition ( boolean $enable = =
true , string $filename = ''
)
Description
ブラウザへの出力用に Content-Disposition ファイル名を定義します。 デフォルトは basename($_SERVER['PHP_SELF']).'.css' です。
Parameter
- boolean $enable
-
(オプション)
- string $filename
-
(オプション)
Throws
throws HTML_CSS_ERROR_INVALID_INPUT
Since
バージョン 1.3.0 (2007-10-22) 以降
See
HTML_CSS::getContentDisposition()
http://pear.php.net/bugs/bug.php?id=12195 Patch by Carsten Wiedmann も参照ください。
Note
This function can not be called statically.




ページのトップへ


SQLインジェクション対策は時と場合で使う関数が変わります。その時にあったものを使いましょう。