Answer the question
In order to leave comments, you need to log in
Why is information displayed on the screen without an output function?
<?
$ch = curl_init();
$request_headers = array();
$request_headers[] = 'apikey:helloworld';
curl_setopt($ch, CURLOPT_URL, 'https://api.ocr.space/Parse/Image');
curl_setopt($ch, CURLOPT_HTTPHEADER, $request_headers);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "isOverlayRequired=true&url=http://site.ru/test/captcha.jpg&language=eng");
$result = curl_exec($ch);
curl_close($ch);
?>
$result = curl_exec($ch);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question