php-curl Questions

0

I have a PHP scraper that works perfectly on my local. But when I uploaded it to my VPS (Ubuntu 16.04), it's not able to get data from the website. Instead, it's showing this error message: "curl:...
Kristiekristien asked 16/9, 2018 at 17:9

2

Solved

I am calling an API using curl in PHP, Sometimes it works fine and sometimes I get Failed to connect to api-domain.com port 80: Connection timed out It's a little strange that sometimes it's workin...
Inadvertent asked 13/6, 2018 at 12:2

1

Solved

On my local machine I have two services (in laravel 5): userBox and mailBox. mailBox use userBox during login using library "guzzlehttp/guzzle": "~6.0" and restful API (mailBox send user credential...
Precession asked 25/1, 2018 at 12:1

2

with this simple code I manage to get Google's access tokens. See the code: public function authenticate($code = null) { if (!$code) { if ($this->log) error_log(__CLASS__ . '::authenticate()...
Perorate asked 22/12, 2017 at 11:27

2

I try to access to the web with curl in a php script : $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://www.google.fr"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec...
Permenter asked 9/8, 2017 at 9:49

3

Solved

I am developing some PHP on Ubuntu 14.04.4 LS. Running composer install is failing and I can't figure it out. This was working earlier when I was using PHP 5.5.9, but I had to update to at least 5....
Panne asked 25/6, 2016 at 4:25

1

I was trying to upgrade my server to latest Apache 2.4.23 and PHP 7.1 but it fail to load php_curl library, don't know why. PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_curl....
Breaker asked 12/12, 2016 at 18:38

1

I am trying to scrape a shopping cart which uses the cookies for different currencies. When I load the site in chrome browser and inspecting with Cookie Inspector for Chrome, it shows the following...
Polyadelphous asked 4/5, 2016 at 11:35

1

I'm getting this weird behavior with libCURL. When I try to upload a file by appending "@" to the beginning of filename (as documented in libCURL's man page), instead of file contents being uploade...
Pokelogan asked 30/7, 2015 at 19:42

1

Solved

How can I detect this error using php curl? curl return success even if the URL does not exist. Not Found The requested URL /foo/index.php/items/edit was not found on this server. My code $pos...
Ranita asked 20/5, 2013 at 4:37

1

Solved

I'm trying to set an API with a payment processor. Below is the code they provided me. There are some information in the $result variable that I want, what I don't understand is what type of variab...
Mackenie asked 9/5, 2013 at 0:55

© 2022 - 2024 — McMap. All rights reserved.