Results of 1 - 1 of about 1 for cstringfile (0.001 sec.)
- CURLStringFile::__construct — CURLStringFile オブジェクトを作る | PHP 8.3 9414
- CURLStringFile::__construct (PHP 8 >= 8.1.0) CURLStringFile::__construct — CURLStringFile オブジェクトを作る 説明 public function CURLStringFile::__construct ( string $data , string $postname , string $mime = "application/octet-stream" ) CU
... // cURL ハンドルを作ります $ch = curl_init ( 'http://example.com/upload.php' ); // CURLStringFile オブジェクトを作ります $cstringfile = new CURLStringFile ( 'test upload contents' , 'test.txt' , 'text/plain' ); // POST データを設定します $data = array( 'te ... st_string' => $cstringfile ); curl_setopt ( $ch , CURLOPT_POST , 1 ); curl_setopt ( $ch , CURLOPT_POSTFIELDS , $data ); // このハンドルを実行します c ...
-
https://man.mtool.work/php/8.3/curlstringfile.construct.html
PREV
1
NEXT