Results of 1 - 3 of about 3 for postname (0.001 sec.)
- CURLStringFile クラス | PHP 8.3 11924
- CURLStringFile クラス (PHP 8 >= 8.1.0) はじめに CURLStringFile を使うと、 ファイルのアップロードを変数を使って直接行うことができます。 このクラスは CURLFile に似ていますが、ファイル名ではなく、 ファイルの中身を使って動作する点が異なります。
... LFile を使わなければいけません。 クラス概要 class CURLStringFile { /* プロパティ */ public string $ data ; public string $ postname ; public string $ mime ; /* メソッド */ public function __construct ( string $data , string $postname , string $mime = "ap ... plication/octet-stream" ) } プロパティ data アップロードするデータ postname アップロードするデータの中のファイルの名前 mime ファイルの MIME タイプ(デフォルトは application/octet-stream ) 参考 curl_s ...
-
https://man.mtool.work/php/8.3/class.curlstringfile.html
- CURLFile クラス | PHP 8.3 8110
- CURLFile クラス (PHP 5 >= 5.5.0, PHP 7, PHP 8) はじめに CURLOPT_POSTFIELDS でファイルのアップロードをするには、このクラスか、 CURLStringFile を使わなければいけません。 CURLFile のインスタンスをアンシリアライズすることはできません。 PHP 7.4.
... ます。 クラス概要 class CURLFile { /* プロパティ */ public string $ name = "" ; public string $ mime = "" ; public string $ postname = "" ; /* メソッド */ public function __construct ( string $filename , ? string $mime_type = null , ? string $posted_filen ... } プロパティ name アップロードするファイルの名前。 mime ファイルの MIME タイプ (デフォルトは application/octet-stream )。 postname アップロードするデータの中のファイルの名前 (デフォルトは name プロパティ)。 参考 curl_setopt() CURLStringFile 目次 CURLFil ...
-
https://man.mtool.work/php/8.3/class.curlfile.html
- CURLStringFile::__construct — CURLStringFile オブジェクトを作る | PHP 8.3 7850
- CURLStringFile::__construct (PHP 8 >= 8.1.0) CURLStringFile::__construct — CURLStringFile オブジェクトを作る 説明 public function CURLStringFile::__construct ( string $data , string $postname , string $mime = "application/octet-stream" ) CU
... 作ります。 これは、 CURLOPT_POSTFIELDS でファイルをアップロードするときに使います。 パラメータ data アップロードするデータ。 postname アップロードするデータの中のファイルの名前。 mime ファイルの MIME タイプ(デフォルトは application/octet-stream ) 例 例1 CU ...
-
https://man.mtool.work/php/8.3/curlstringfile.construct.html
PREV
1
NEXT