Questions tagged as 'curl'

3
answers

Login to Paypal

I'm trying to log into Paypal and get the value of the account balance, but to no avail. My code: <?php include ("curl.php"); $fp=fopen("fpaypal","w"); fwrite($fp, ""); fclose($fp); $curl = new curl; if(isset($_POST['txt'])) { $l...
asked by 22.04.2014 / 02:01
0
answers

Error fetching Central Bank report

The functions to get the Focus Report Central Bank Expectations are the following error: Error in curl::curl_fetch_memory(url, handle = handle) : Failure when receiving data from the peer" Example of Cran's own pdf: library(rbcb) i...
asked by 18.07.2018 / 15:30
1
answer

Simulate a click, like sharing a link to Google+ without clicking

My challenge is to make a sharing of my site to Google+ without clicks. I have an account with google [email protected] , I created a profile in G+ . The idea is through localhost to create a script where when it is accessed...
asked by 16.11.2017 / 11:33
2
answers

Use IP or LOCAL that the user is (or closest to) to send a query [duplicate]

I have the following code: function getpage($url, $postdata=''){ $c = curl_init(); <br> curl_setopt($c, CURLOPT_URL, $url); curl_setopt($c, CURLOPT_SSL_VERIFYPEER,false); curl_setopt($c, CURLOPT_SSL_VERIFYHOST,false);...
asked by 19.07.2017 / 08:31
0
answers

Keep active session for multiple requests using CURL is very slow

I made a script to automatically post ads to a classified site for a particular user. I store the ads ID locally in the database, then with the CURL, I login, and then loop through each ad ID to activate it on the corresponding date. But this...
asked by 01.07.2016 / 18:24
2
answers

How do you send 3 Curl requests at once?

I'm trying to create a system, but I have a question, I wanted to send the request all at once through curl_init, I want to send it to fetch 3 servers at a time.     
asked by 20.05.2016 / 19:23
0
answers

How to obtain data from the IRS?

In the site cadastral situation it is possible to consult CPF / CNPJ without going through captcha , also does not ask for date of birth. How is this possible?     
asked by 25.09.2015 / 19:21
0
answers

Secure Checkout Secure Pag - Unauthorized

I'm having trouble completing the transparent checkout of the secure pag, following the code of what I'm downloading $url = "https://ws.sandbox.pagseguro.uol.com.br/v2/transactions"; $dados = '[email protected]&token=6128AD81C3E14...
asked by 03.09.2015 / 00:22
2
answers

Login to the NFe portal with cURL and PHP

I've done a lot of research on this and so far I have not been able to do anything concrete. Is this possible? I want to make a form with the access key field and the captcha code to fill out. soon this data will be sent to the nfe portal and...
asked by 08.05.2014 / 13:57
1
answer

cURL, how to change the country of origin

I used cURL to log in automatically on Facebook, but a few minutes later I received a message that someone had accessed my United States account, and for security reasons they they asked if it was me .. So, I believe that cURL uses the...
asked by 10.03.2015 / 23:39