« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 301 for https (0.007 sec.)
http:// — HTTP(s) URL へのアクセス | PHP 8.3 10046
http:// https:// http:// -- https:// — HTTP(s) URL へのアクセス 説明 HTTP GET メソッドを用いて、 ファイル/リソースに対する読み取り専用のアクセスが可能です。 仮想ホストにホスト名でアクセスするために、 Host: ヘッダが送信されます。 php.ini ファ ... ッダとなります。 利用法 http://example.com http://example.com/file.php?var1=val1&var2=val2 http://user:password@example.com https://example.com https://example.com/file.php?var1=val1&var2=val2 https://user:password@example.com オプション ラッパーの概要 ... 0 , 10 )) == 'location: ' ) { /* $url をリダイレクト先に書き換える */ $url = substr ( $response , 10 ); } } ?> 注意 注意 : HTTPS がサポートされるのは、 openssl 拡張モジュールが有効な場合のみです。 HTTP 接続は読み込みのみ可で、HTTP リソースにデータを書 ...
https://man.mtool.work/php/8.3/wrappers.http.html
Collator::getSortKey — 文字列のソート用のキーを取得する | PHP 8.3 9442
Collator::getSortKey collator_get_sort_key (PHP 5 >= 5.3.2, PHP 7, PHP 8, PECL intl >= 1.0.3) Collator::getSortKey -- collator_get_sort_key — 文字列のソート用のキーを取得する 説明 オブジェクト指向型 public function Collator::getSortKey ( st ... 例2 Collator::getSortKey() を usort() と一緒に使う例 <?php $data = [ [ 'name' => '?? Derick Rethans' , 'linked_account' => 'https://phpc.social/users/derickr' ], [ 'name' => 'Elephpant' , 'linked_account' => 'https://phpc.social/phpc' ], [ 'name' => '? ... ? Marcus Bointon' , 'linked_account' => 'https://phpc.social/users/Synchro' ], ]; /* Create the collator */ $col = new Collator ( 'en' ); /* Sort upper-case letters befo ... 以下のようになります。 array(3) { [0] => array(2) { 'name' => string(25) "?? Derick Rethans" 'linked_account' => string(33) "https://phpc.social/users/derickr" } [1] => array(2) { 'name' => string(9) "Elephpant" 'linked_account' => string(24) "https://p ...
https://man.mtool.work/php/8.3/collator.getsortkey.html
要件 | PHP 8.3 8696
要件 GD ライブラリ( » https://libgd.github.io で取得可能)があれば、画像の作成と操 作を行なうこともできます。 操作できるイメージの形式は、インストールされている GD とこれらのイメージフォーマットにアクセスする ために GD が必要とするその他のラ ... を拡張したいと思うかもしれません。 サポートされるイメージ形式 イメージ形式 ダウンロードするライブラリ 注記 gif avif jpeg » https://www.ijg.org/ (PHP のビルド前に) jpeg ライブラリをビルドする際、configure で --enable-shared オプションを指定する必要があ ... ります。 そうしないと、PHP をビルドする際の configure で libjpeg.(a|so) not found というエラーが発生します。 png » https://www.libpng.org/pub/png/libpng.html xpm » https://www.ibiblio.org/pub/Linux/libs/X/!INDEX.html Xウインドウ環境をインストー ...
https://man.mtool.work/php/8.3/image.requirements.html
米Yahoo! の位置情報プラットフォーム FireEagle の例 | PHP 8.3 8545
米Yahoo! の位置情報プラットフォーム FireEagle の例 <?php $req_url = 'https://fireeagle.yahooapis.com/oauth/request_token' ; $authurl = 'https://fireeagle.yahoo.net/oauth/authorize' ; $acc_url = 'https://fireeagle.yahooapis.com/oauth/access_ ... token' ; $api_url = 'https://fireeagle.yahooapis.com/api/0.1' ; $conskey = 'your_consumer_key' ; $conssec = 'your_consumer_secret' ; session_start () ...
https://man.mtool.work/php/8.3/oauth.examples.fireeagle.html
定義済み定数 | PHP 8.3 8243
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 以下の定数の説明と使い方は、 curl_setopt() , curl_multi_setopt() , curl_getin ... CURLPIPE_NOTHING ( int ) cURL 7.43.0 以降で利用可能です。 CURLPROXY_HTTP ( int ) cURL 7.10 以降で利用可能です。 CURLPROXY_HTTPS ( int ) PHP 7.3.0 以降 および cURL 7.52.0 以降で利用可能です。 CURLPROXY_HTTP_1_0 ( int ) PHP 7.0.7 以降 および cURL 7.19. ... 7.33. 以降で利用可能です。 CURL_VERSION_HTTP3 ( int ) PHP 8.2.0 以降 および cURL 7.66.0 以降で利用可能です。 CURL_VERSION_HTTPS_PROXY ( int ) PHP 7.3.0 以降 および cURL 7.52.0 以降で利用可能です。 CURL_VERSION_IDN ( int ) IDN (国際化ドメイン名) をサポ ... ルを使う転送において、cURL が Alt-Svc をどう処理するかを指示するために、 適切な機能セットのビットマスクを設定します。cURL は HTTPS 経由でのみ Alt-Svc ヘッダーを受け付けます。 また、代替オリジンが HTTPS で適切にホストされている場合にのみ、代替オリジンへの ...
https://man.mtool.work/php/8.3/curl.constants.html
PECL 拡張モジュールをダウンロードする | PHP 8.3 8243
PECL 拡張モジュールをダウンロードする 警告 PECL は非推奨です。 PHP Installer for Extensions ( PIE ) は PECL を置き換えるものです。 拡張モジュールのインストールには PIE を使うことを推奨します。 詳しい情報は、 » https://github.com/php/pie を参 ... e コマンドで、 拡張モジュールのコードを自動的にダウンロードします。 この場合は、個別にダウンロードする必要はありません。 » https://pecl.php.net/ PECL のウェブサイトでは、PHP 開発チームが提供する さまざまな拡張モジュールについての情報が公開されています ... す。 git 多くの PECL 拡張モジュールは Github に置かれています。 SVN SVN にも収められている PECL 拡張モジュールもあります。 » https://svn.php.net/pecl/ で、 ウェブから参照することができます。 SVN から直接ダウンロードする場合は、 以下の一連のコマンドを使用 ... します。 $ svn checkout https://svn.php.net/repository/pecl/extname/trunk extname Windows ダウンロード PHP プロジェクトでは、大半の PECL 拡張モジュールの ...
https://man.mtool.work/php/8.3/install.pecl.downloads.html
Uri\WhatWg\Url::getPort — ポートコンポーネントを取得する | PHP 8.3 7799
Uri\WhatWg\Url::getPort (PHP 8 >= 8.5.0) Uri\WhatWg\Url::getPort — ポートコンポーネントを取得する 説明 public function Uri\WhatWg\Url::getPort (): ? int ポートコンポーネントを取得します。 パラメータ この関数にはパラメータはありません。 戻り ... を返し、存在しない場合は null を返します。 例 例1 Uri\WhatWg\Url::getPort() の基本的な例 <?php $url = new \Uri\WhatWg\Url ( "https://example.com:8080" ); var_dump ( $url -> getPort ()); // 443 は https のデフォルトポートなので、保持されません。 $url = n ... ew \Uri\WhatWg\Url ( "https://example.com:443" ); var_dump ( $url -> getPort ()); ?> 上の例の出力は以下となります。 int(8080) NULL 参考 Uri\WhatWg\Url ...
https://man.mtool.work/php/8.3/uri-whatwg-url.getport.html
例 | PHP 8.3 7497
例 目次 ストリームラッパーとして登録するクラスの例 例1 file_get_contents() を使って さまざまな場所からデータを取得する <?php /* /home/bar にあるローカルファイルを読み出す */ $localfile = file_get_contents ( "/home/bar/foo.txt" ); /* 上と同一 ... w.example.com にあるリモートのファイルを読み出す */ $httpfile = file_get_contents ( "http://www.example.com/foo.txt" ); /* HTTPS を利用し、www.example.com にあるリモートのファイルを読み出す */ $httpsfile = file_get_contents ( "https://www.example.com/ ... にあるリモートのファイルを読み出す */ $ftpsfile = file_get_contents ( "ftps://user:pass@ftp.example.com/foo.txt" ); ?> 例2 https のサーバーに対して POST リクエストを行う <?php /* https://secure.example.com/form_action.php に対して POST リクエストを送信 ...
https://man.mtool.work/php/8.3/stream.examples.html
Uri\WhatWg\Url::resolve — 現在のオブジェクトをベース URL として URL を解決する ... 7497
Uri\WhatWg\Url::resolve (PHP 8 >= 8.5.0) Uri\WhatWg\Url::resolve — 現在のオブジェクトをベース URL として URL を解決する 説明 public function Uri\WhatWg\Url::resolve ( string $uri , array &$softErrors = null ): static 現在のオブジェクトをベー ... URL 文字列である可能性もあります)を解決します。 パラメータ uri 現在のオブジェクトに適用する有効な URL 文字列(例: /foo や https://example.com/foo )。 softErrors 参照解決中に発生したソフトエラーの詳細情報を提供するために、 Uri\WhatWg\UrlValidationErr ... g\InvalidUrlException がスローされます。 例 例1 Uri\WhatWg\Url::resolve() の基本的な例 <?php $url = new \Uri\WhatWg\Url ( "https://example.com" ); $url = $url -> resolve ( "/foo" ); echo $url -> toAsciiString (); ?> 上の例の出力は以下となります。 http ...
https://man.mtool.work/php/8.3/uri-whatwg-url.resolve.html
Uri\WhatWg\Url::parse — URL をパースする | PHP 8.3 7346
Uri\WhatWg\Url::parse (PHP 8 >= 8.5.0) Uri\WhatWg\Url::parse — URL をパースする 説明 public static function Uri\WhatWg\Url::parse ( string $uri , ? Uri\WhatWg\Url $baseUrl = null , array &$errors = null ): ? static URL をパースします。 パラ ... メータ uri パースする URL 文字列(例: https://example.com/foo )。 /foo のような相対 URL 文字列は、 baseUrl が指定された場合にのみ受け付けられます。 baseUrl string が ... 返し、失敗した場合は null を返します。 例 例1 Uri\WhatWg\Url::parse() の基本的な例 <?php $url = \Uri\WhatWg\Url :: parse ( "https://example.com" ); if ( $url !== null ) { echo "Valid URL: " . $url -> toAsciiString (); } else { echo "Invalid URL" ; } 上 ... の例の出力は以下となります。 Valid URL: https://example.com/ 参考 Uri\WhatWg\Url::__construct() - Url オブジェクトを構築する Uri\WhatWg\Url::resolve() - 現在のオブジェク ...
https://man.mtool.work/php/8.3/uri-whatwg-url.parse.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT