HTTP エリソ�
PHP Manual

http_post_fields

(PECL pecl_http >= 0.10.0)

http_post_fields・ィ・ウ。シ・ノ、オ、��ー、ホ・ヌ。シ・ソ、ネヘム、キ、ニ POST ・�ッ・ィ・ケ・ネ、ツケヤ、ケ、�

タ篶タ

string http_post_fields ( string $url , array $data [, array $files [, array $options [, array &$info ]]] )

サリト熙キ、ソ url 、ヒツミ、キ、ニ HTTP POST ・�ッ・ィ・ケ・ネ、ツケヤ、キ、゙、ケ。」

・�ッ・ィ・ケ・ネ、ホ・ェ・ラ・キ・逾� 、イセネ、ッ、タ、オ、、。」

・ム・鬣癸シ・ソ

url

URL。」

data

POST 、ケ、�ヘ、ホマ「チロヌロホ」

files

POST 、ケ、�ユ・。・、・�ホヌロホ」

options

・�ッ・ィ・ケ・ネ、ホ・ェ・ラ・キ・逾�

info

・�ッ・ィ・ケ・ネ/・�ケ・ン・ケ 、ホセ�

ハヨ、�ヘ

タョクキ、ソセ�遉マ HTTP ・�ケ・ン・ケ、クサ昀ヌ。「シコヌヤ、キ、ソセ�遉マ FALSE 、ヨ、キ、゙、ケ。」

ホ�

ホ�1 http_post_fields() 、ホホ�

<?php
$fields 
= array(
    
'name' => 'mike',
    
'pass' => 'se_ret'
);
$files = array(
    array(
        
'name' => 'uimg',
        
'type' => 'image/jpeg',
        
'file' => './profile.jpg',
    )
);

$response http_post_fields("http://www.example.com/"$fields$files);
?>


HTTP エリソ�
PHP Manual