Questions tagged as 'curl'

1
answer

Problem with ajax and cURL to receive mysql value and return to html

people I'm having a problem using html, ajax, cURL and mysql. the function is simple an html page where will receive a name and will send by ajax to cURL that will access the php that connects to mysql and takes 2 column of the table and returns...
asked by 05.05.2016 / 00:39
1
answer

How to consume REST API from 4Shared using PHP?

I have tried every way to use this new 4SHARED API, both with curl and file_get_contents and I can not authenticate! 4Shared has not provided any class like twitter and facebook available and I'm having trouble making the request. Document...
asked by 04.03.2016 / 19:28
1
answer

How to check the installment fee in the Pagseguro query API?

I integrated the pagseguro into my virtual store. I use a transaction-by-code query API to get details of the transaction / purchase that was made at the store: link The payload returns an xml with the information, so I save the informat...
asked by 03.03.2016 / 16:32
1
answer

How to get dynamic data returned by cURL?

Good night, I need to return data from a specific site for my application, for this I chose to use the cURL () PHP method, it sends a post and I return the information I want, the problem is that in that return comes the complete page of the for...
asked by 11.02.2016 / 22:48
1
answer

CheckoutURL redirect issue on Checkout

I'm developing the site of my phonographic label with the CodeIgniter framework. In it I will sell physical and digital CDs with the Cart class. I signed up for Cielo this week and I am reading the Developer's Handbook assiduously. The manual...
asked by 08.11.2015 / 07:29
1
answer

PHP - cURL returning error 'Microsoft VBScript runtime error' 800a01a8 'object required:' Session (...) '"

I'm developing an application where several automations (all sending forms, relatively simple) will be made to external sites using cURL. I've been successful in at least five cases, except the current one. I can log in and catch cookies normall...
asked by 31.08.2015 / 23:55
1
answer

How to update cURL request when calling script

I have a system, which opens an external site inside it, but I have a small hitch; every time the page is accessed for the first time, the data obtained from the external page are not updated, they are saved in cache and stays forever, wanted to...
asked by 11.05.2015 / 08:33
1
answer

Queries data from the Federal Revenue website with PHP

Performing a search, I found some examples filling out forms from third-party sites and capturing the response. Most of these examples use the PHP cURL library. On the gigasystem site, there is a code which shows you how to do it, including...
asked by 01.07.2015 / 15:31
1
answer

connect to multiple sites with cURL

If there was a list of 10 sites, or more, using cURL to connect to and puta content of each site, what would be the most effective way, which would give less time between one connection and another. That is, what good practice for this case, som...
asked by 12.01.2015 / 14:08
1
answer

How to use the cURL library for c ++ correctly?

I'm having trouble copying a simple test using the cURL library for C ++ because it always returns this error: C:\Users\Raphael\Desktop\HTTP Request\collect2.exe [Error] ld returned 1 exit status Makefile.win     # Project: SQL Request    ...
asked by 16.09.2014 / 10:00