Questions tagged as 'curl'

1
answer

warning: libssl.so.1.0.2, needed by /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.1.1

I'm trying to copy a program that needs some libraries LIBS = -g -lmysqlcppconn -lpthread -lcurl -lboost_serialization -lreadline -lz -luWS -lssl The problem is that -lcurl and some programs need libssl.so.1.0.2 and -lssl...
asked by 25.11.2017 / 14:08
1
answer

Curl Script works on Windows but not on Linux

I have a problem with curl. When I use this code in apache installed on Windows 10, it always works. When I use it on Linux, both on Ubuntu Server 16.04 and on CentOS 7, it gives both problems, sometimes it works after several attempts (1 in 5 o...
asked by 28.11.2017 / 19:26
1
answer

FormJSON PHP for CURL,

How to move from ...    file_get_contents () for CURL or Guzzle $content = http_build_query(array( 'oid' => '00SH1000000ASZF', 'retURL' => 'https://www.site.com.br/', 'first_name' => $nome,...
asked by 17.11.2017 / 23:53
0
answers

Pull information from another page

Through a given url I get the following code <script> window["ytInitialData"] = {"responseContext":{"serviceTrackingParams": [{"service":"GFEEDBACK","params": [{"key":"has_unlimited_entitlement","value":"False"},...
asked by 12.11.2017 / 14:11
0
answers

PHP Make a POST on Page with JavaScript

A PHP page, you need to pass some parameters to an external page, such as% , until then OK, but this external page has some JavaScript commands. When I send via POST or cURL , the page loads, but JavaScript does not run....
asked by 21.09.2017 / 16:28
1
answer

How to access the contents of a curl-php request?

I'm developing a bot in php that takes the feed posts from a facebook page using curl via GET request. I want to extract certain information from the page to later put in content and display on a good site that part I unroll, but I do not know i...
asked by 15.09.2017 / 02:10
0
answers

Transform CURL into class

I want to transform my code curl which is structural and put it in a classe , but I'm out of logic, I DO NOT WANT ANYTHING SOON , just want examples, see my class <?php $cookie = []; $username = trim(filter_input(INPUT_POST,...
asked by 21.08.2017 / 13:00
0
answers

Error returning page with Curl + PHP

I'm using cUrl + PHP to open an external site, but when I try to do this it loads normal but does not show the content I'm needing. In the Chrome console this error appears below and I imagine that is why: Uncaught DOMExceptio...
asked by 22.08.2017 / 21:47
0
answers

How to create a web-proxy with cURL + PHP

I need to create an application that can compare some information contained in external sites and need to do it in PHP , but I am blocked by the difference of domains. In proxys I can access this page, so I need this to happen inside the...
asked by 24.08.2017 / 20:22
0
answers

PHP - CURL HTTPS Request - NFSe Curitiba

I'm performing an integration with WebService for sending RPS, for issuing NFS-e, I'm using the PHP programming language, and the CURL library. In this integration it is mandatory when making any request to send the digital certificate, this one...
asked by 15.08.2017 / 16:58