Results of 1 - 1 of about 1 for ダイアログ (0.002 sec.)
- header — 生の HTTP ヘッダを送信する | PHP 8.3 9414
- header (PHP 4, PHP 5, PHP 7, PHP 8) header — 生の HTTP ヘッダを送信する 説明 function header ( string $header , bool $replace = true , int $response_code = 0 ): void header() は、生の HTTP ヘッダを送信するために使用されます。 HTTP ヘッダにつ
... / 例外 ヘッダを予定通りに送信できなかった場合、 header() 関数は E_WARNING レベルの警告を発生させます。 例 例1 ダウンロードダイアログ PDF ファイルを生成した場合など、 それをダウンロードするかの確認ダイアログを表示させたいことがあるでしょう。 そんな場合は、 ... » Content-Disposition ヘッダを使用してファイル名を指定すると、ブラウザ側でダイアログを表示させることができます。 <?php // PDFを出力します header ( 'Content-Type: application/pdf' ); // downloaded.pdf という名 ...
-
https://man.mtool.work/php/8.3/function.header.html
PREV
1
NEXT