0
내가 file_get_contents
를 사용하여 포스트 데이터에 액세스하기 위해 노력하고있어 사용에 411 오류가 해결되지 않습니다.포스트 액세스 그러나 나는 다음과 같은 오류 메시지가 컨텐츠 길이
비록 내가 Content-Length field
을 사용했지만 오류가 해결되지 않았습니다. 누군가가 저를 도울 수 있다면, 여기에 제 코드가 있습니다, 미리 감사드립니다.
<?php
set_time_limit(0);
include "ui.php";
$oy= `perl E:/mul.pl`;
$context = stream_context_create(array('http' => array('method'=>'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'Content-Length: 0', 'content' => '')));
$result = file_get_contents($oy, false, $context);
?>