php-multi-curl
php-multi-curl copied to clipboard
A high performance PHP library for using multi curl for parallel http calls.
Doesn't seems to be compatible with PHP 8.0 ```php
Hi guys. I'm not very familiar with PHP and how it works under the hood. And maybe I should post my question on PHP forums, but let me try ))...
I updated the whole project
Is there a way to get the type of cURL error that occured? It appears that the cURL handles are finalized and closed as soon as the response data is...
Composer returns an error stating that the repository could not be found
Example Code: ``` php $urls = array('http://google.com', 'https://twitter.com'); $mc = JMathai\PhpMultiCurl\MultiCurl::getInstance(); $calls = array(); foreach($urls as $url) { $handle = curl_init($url); curl_setopt( $handle, CURLOPT_NOBODY, true ); curl_setopt( $handle, CURLOPT_HEADER, false...
Hey, I have some custom curl parameters: $ch = curl_init("http://google.com"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT_MS , 1); //timeout in seconds $google = $mc->addCurl($ch); $e_code = curl_multi_info_read($google); var_dump($e_code); Do you guys...
Depending on which site you're trying to access, the script is goes into an infinite loop infinite loop. The Google homepage is one of the sites breaking. ``` php $mc...