Results of 1 - 10 of about 432 for header (0.001 sec.)
- header — 生の HTTP ヘッダを送信する | PHP 8.3 9438
- 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 ヘッダにつ
... いての詳細な情報は » HTTP/1.1 仕様 を参照ください。 覚えておいて頂きたいのは、 header() 関数は、 通常の HTML タグまたは PHP からの出力にかかわらず、すべての実際の 出力の前にコールする必要があることです。 頻出 ... するエラーとして、 include または require 関数、他のファイルをアクセスする関数に 空白または空行があり、 header() の前に出力が 行われてしまうというものがあります。同じ問題は、単一の PHP/HTML ファイルを使用している場合でも存在します。 ... <html> <?php /* これはエラーとなります。この上に出力があることに注目してください。 * それはheader()のコールより前であるということになります */ header ( 'Location: http://www.example.com/' ); exit; ?> パラメータ header ヘ ...
-
https://man.mtool.work/php/8.3/function.header.html
- header_register_callback — ヘッダ用の関数を登録する | PHP 8.3 9396
- header_register_callback (PHP 5 >= 5.4.0, PHP 7, PHP 8) header_register_callback — ヘッダ用の関数を登録する 説明 function header_register_callback ( callable $callback ): bool PHP が出力を送信しはじめるときにコールする関数を登録します。 cal
... てからその他の出力を始めるまでの間です。 ここで、送信する前のヘッダを操作できます。 警告 コールバックは複数登録できません。 header_register_callback() を再度コールすると、 どこで設定されたかにかかわらず、既存の callback が警告なく登録解除されます。 依存 ... 関数。パラメータは受け取らず、戻り値も無視されます。 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 header_register_callback() の例 <?php header ( 'Content-Type: text/plain' ); header ( 'X-Test: foo' ); function foo () { foreach ... ( headers_list () as $header ) { if ( strpos ( $header , 'X-Powered-By:' ) !== false ) { header_remove ( 'X-Powered-By' ); } header ...
-
https://man.mtool.work/php/8.3/function.header-register-callback.html
- header_remove — 以前に設定したHTTPヘッダを削除する | PHP 8.3 9020
- header_remove (PHP 5 >= 5.3.0, PHP 7, PHP 8) header_remove — 以前に設定したHTTPヘッダを削除する 説明 function header_remove ( ? string $name = null ): void header() 関数を使って以前に設定したHTTPヘッダを削除します。 パラメータ name 削除する
... 戻り値 値を返しません。 変更履歴 バージョン 説明 8.0.0 name は、nullable になりました。 例 例1 特定のヘッダを削除する <?php header ( "X-Foo: Bar" ); header ( "X-Bar: Baz" ); header_remove ( "X-Foo" ); ?> 上の例の出力は、 たとえば以下のようになります。 X ... -Bar: Baz 例2 以前設定したすべてヘッダを削除する <?php header ( "X-Foo: Bar" ); header ( "X-Bar: Baz" ); header_remove (); ?> 上の例の出力は、 たとえば以下のようになります。 注意 警告 ... があります。 注意 : ヘッダにアクセスできたりヘッダを出力したりするのは、 それに対応した SAPI を使っている場合のみです。 参考 header() - 生の HTTP ヘッダを送信する headers_sent() - ヘッダが既に送信されているかどうかを調べる 他のマニュアルの関連ページ Pyth ...
-
https://man.mtool.work/php/8.3/function.header-remove.html
- EventHttpRequest::addHeader — Adds an HTTP header to the headers of the request... 8978
- EventHttpRequest::addHeader (PECL event >= 1.4.0-beta) EventHttpRequest::addHeader — Adds an HTTP header to the headers of the request 説明 public function EventHttpRequest::addHeader ( string $key , string $value , int $type ): bool Adds a
... n HTTP header to the headers of the request. パラメータ key Header name. value Header value. type One of EventHttpRequest::*_HEADER cons ... tants . 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventHttpRequest::removeHeader() - Removes an HTTP header from the headers of the request 他のマニュアルの関連ページ FastAPI Header Parameter Models Duck ... DB CSV Import Tips FastAPI ミドルウェア Python email.header FastAPI Request Parameters Django 1.1.4 ...
-
https://man.mtool.work/php/8.3/eventhttprequest.addheader.html
- wkhtmltox\PDF\Object::__construct — Create a new PDF Object | PHP 8.3 8978
- wkhtmltox\PDF\Object::__construct (wkhtmltox >= 0.1.0) wkhtmltox\PDF\Object::__construct — Create a new PDF Object 説明 public function wkhtmltox\PDF\Object::__construct ( string $buffer , array $settings = ? ) Creates a new PDF Object from
... dentation indentation for toc 2em >= 0.1.0 toc.fontScale the factor to scale down the font at every toc level 0.8 >= 0.1.0 header.fontSize font size for use in header 13 >= 0.1.0 header.fontName name of font for use in header times >= 0.1.0 header.left ... text for left of header >= 0.1.0 header.center text for center of header >= 0.1.0 header.right text for right of header >= 0.1.0 header.line enabl ... e or disable horizontal rule under header boolean >= 0.1.0 header.spacing space between header and content 1.8 >= 0.1.0 header.htmlUrl URL or path of HTML to use in ...
-
https://man.mtool.work/php/8.3/wkhtmltox-pdf-object.construct.html
- Imagick::morphology — 指定されたモルフォロジーメソッドに従い、ユーザー指定のカ... 8694
- Imagick::morphology (PECL imagick 3 >= 3.3.0) Imagick::morphology — 指定されたモルフォロジーメソッドに従い、ユーザー指定のカーネルを画像に適用する 説明 public function Imagick::morphology ( int $morphologyMethod , int $iterations , ImagickK
... BuiltIn ( \Imagick :: KERNEL_GAUSSIAN , "5,1" ); $imagick -> morphology ( \Imagick :: MORPHOLOGY_CONVOLVE , 2 , $kernel ); header ( "Content-Type: image/png" ); echo $imagick -> getImageBlob (); ?> 例2 Correlate Imagick::morphology() <?php // 左上のピク ... Matrix ( self :: $correlateMatrix , [ 2 , 2 ]); $imagick -> morphology ( \Imagick :: MORPHOLOGY_CORRELATE , 1 , $kernel ); header ( "Content-Type: image/png" ); echo $imagick -> getImageBlob (); ?> 例3 Erode Imagick::morphology() <?php $canvas = $this ... :: fromBuiltIn ( \Imagick :: KERNEL_OCTAGON , "3" ); $canvas -> morphology ( \Imagick :: MORPHOLOGY_ERODE , 2 , $kernel ); header ( "Content-Type: image/png" ); echo $canvas -> getImageBlob (); ?> 例4 Erode Intensity Imagick::morphology() <?php $canvas ...
-
https://man.mtool.work/php/8.3/imagick.morphology.html
- Vtiful\Kernel\Excel::header — Vtiful\Kernel\Excel header | PHP 8.3 8277
- Vtiful\Kernel\Excel::header (PECL xlswriter >= 1.2.1) Vtiful\Kernel\Excel::header — Vtiful\Kernel\Excel header 説明 public function Vtiful\Kernel\Excel::header ( array $headerData ) Write a header in the worksheet. パラメータ headerData wor
... ksheet header data 戻り値 Vtiful\Kernel\Excel instance 例 例1 example <?php $config = [ 'path' => './tests' ]; $fileObject = new \Vtiful ... \Kernel\Excel ( $config ); $file = $fileObject -> fileName ( 'tutorial.xlsx' , 'sheet_one' ) -> header ([ 'name' , 'age' ]); ?> 他のマニュアルの関連ページ DuckDB Excel Export DuckDB Excel Import DuckDB Excel Extension Linux J ...
-
https://man.mtool.work/php/8.3/vtiful-kernel-excel.header.html
- EventHttpRequest::findHeader — Finds the value belonging to a header | PHP 8.3 7717
- EventHttpRequest::findHeader (PECL event >= 1.4.0-beta) EventHttpRequest::findHeader — Finds the value belonging to a header 説明 public function EventHttpRequest::findHeader ( string $key , string $type ): void Finds the value belonging to
... a header. パラメータ key The header name. type One of EventHttpRequest::*_HEADER constants . 戻り値 Returns null if header not foun ... d. 参考 EventHttpRequest::addHeader() - Adds an HTTP header to the headers of the request 他のマニュアルの関連ページ Django 1.1.4 Django 4.0.9 Django 3.2.17 D ...
-
https://man.mtool.work/php/8.3/eventhttprequest.findheader.html
- EventHttpRequest::removeHeader — Removes an HTTP header from the headers of the... 7717
- EventHttpRequest::removeHeader (PECL event >= 1.4.0-beta) EventHttpRequest::removeHeader — Removes an HTTP header from the headers of the request 説明 public function EventHttpRequest::removeHeader ( string $key , string $type ): void Remov
... es an HTTP header from the headers of the request. パラメータ key The header name. type type is one of EventHttpRequest::*_HEADER constants. ... 戻り値 Removes an HTTP header from the headers of the request. 参考 EventHttpRequest::addHeader() - Adds an HTTP header to the headers of the request 他 ...
-
https://man.mtool.work/php/8.3/eventhttprequest.removeheader.html
- The EventHttpRequest class | PHP 8.3 7533
- The EventHttpRequest class (PECL event >= 1.4.0-beta) はじめに Represents an HTTP request. クラス概要 class EventHttpRequest { /* 定数 */ const int CMD_GET = 1 ; const int CMD_POST = 2 ; const int CMD_HEAD = 4 ; const int CMD_PUT = 8 ; cons
... nt CMD_OPTIONS = 32 ; const int CMD_TRACE = 64 ; const int CMD_CONNECT = 128 ; const int CMD_PATCH = 256 ; const int INPUT_HEADER = 1 ; const int OUTPUT_HEADER = 2 ; /* メソッド */ public function addHeader ( string $key , string $value , int $type ): ... bool public function cancel (): void public function clearHeaders (): void public function closeConnection (): void public function __construct ( callable $callback , mixed $data = null ) ... public function findHeader ( string $key , string $type ): void public function free (): void public function getBufferEvent (): EventBufferEvent pub ...
-
https://man.mtool.work/php/8.3/class.eventhttprequest.html