Questions tagged as 'curl'

1
answer

ERROR UPDATE THEMA: Download failed. cURL error 35: SSL connect error wordpress

Hello, guys !! I am encountering a wordpress error, which happens when I update my thema through the wordpress panel itself. Update Failed: Download failed. cURL error 35: SSL connect error which, by the way, seems to be created by ss...
asked by 02.06.2018 / 03:23
1
answer

Request CUrl does not work depending on JSON size

My problem is that depending on the size of the JSON sent, the CUrl request does not work, that is, if I send 2 photos in JSON , of course, 4 is already reason for TimeOut . The problem is not in API because i...
asked by 29.05.2018 / 19:09
0
answers

Why is this curl_init php result false?

I have the following script: ... $fields = http_build_query($data); $post = curl_init(); $url = $url . '?' . $fields; curl_setopt($post, CURLOPT_URL, $url); curl_setopt($post, CURLOPT_POST, 1); curl_setopt($post, CURLOPT_POSTFIELDS, $fiel...
asked by 24.05.2018 / 22:20
0
answers

Help on CURL Json

I have a curl code, which pulls json through the url, but is giving a bug that I can not solve, can anyone help me? <?php $c = curl_init(); $login = 'LOGIN'; $key = 'KEY'; $file = $_GET["fileid"]; curl_setopt($c, CURLOPT_URL, "http...
asked by 23.05.2018 / 02:55
0
answers

Get search results with cURL

I'm working on a custom search engine, example I want to gather information from a particular Google search and display, I started using the cURL below: $curl = curl_init(); $search_string = "fome no mundo"; $url = "http://www.google.com.b...
asked by 08.05.2018 / 01:43
0
answers

httprequest with curl in C returning values

Hello everyone reading. I'm trying to create a simple md5 hash file validation code with my web server. I basically want to send the hash and if it is the same registered on my web server and it will return with true or false, if true retu...
asked by 17.04.2018 / 18:01
1
answer

which means the -u of a in the curl

Good evening, I would like to know what -u means in the curl request. I know that -h means header and -d informs if I will POST GET ou PUT     
asked by 10.04.2018 / 02:52
0
answers

Curl within is time consuming and troublesome

I need to test all the user accounts of a db in text area I am utilizando o script function informacoes(){ $linhas = explode("\n", $_POST['conta']); $count = count($linhas) -1; for($i=0 ; $i<= $count; $i++) {...
asked by 01.04.2018 / 23:20
1
answer

how to mount the json of this respective call

I have a problem I do not know how to mount the json of this call in php to send by curl, could anyone help me? "auto_recurring": { "frequency": 1, "frequency_type": "months", "transaction_amount": 200 }     
asked by 07.04.2018 / 01:06
1
answer

Http Request returns blank page

I'm trying to perform Http request in php which should open a web page so that I would look for a code that would come in the URL after authorizing the API. But when I run the page it goes blank. I tried cURL and the result really was. <?ph...
asked by 29.03.2018 / 19:17