Questions tagged as 'curl'

1
answer

Control return order of cURL

I'm doing a proxys checker by putting a list of proxys in textarea and the code returns me on the 1 by 1 screen below the other if they work or do not. You are almost all set, the only problem is that no matter what order the proxy...
asked by 10.07.2017 / 18:20
2
answers

Request in Cielo API in PHP using cURL

I'm trying to do a REQUEST of the form below, I'm not getting: public function subscribe(){ $json_url = 'https://apisandbox.cieloecommerce.cielo.com.br/1/sales/'; $json_string = json_encode(array( "MerchantOrderId"=>"201411...
asked by 22.02.2017 / 14:18
1
answer

Run a Cpanel cron URL [duplicate]

I need to run a URL at 19:00 every day. I tried to do the cron job of cpanel, but the url is not executed. curl -s -o /dev/null http://minhaurl.com.br/index.php/sms/enviodiario What would be wrong?     
asked by 09.09.2016 / 00:39
1
answer

Problem to use user IP instead of server in CURL

I'm using a CURL function in this way, to read the contents of curl with the user's IP, not the server's: function curl($url) { $curl = curl_init($url) or die("Erro, o CURL não está habilitado."); curl_setopt($curl, CURLOPT_HTTPHEADER,...
asked by 09.12.2018 / 14:39