Yngvarr

Generation

generate functionThu, 13 Apr 2023

curl asynchrone pool

<?php $url = 'https://www.google.com'; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_TIMEOUT, 30); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); $result = curl_exec($curl); curl_close($curl); echo $result; ?>

Questions about programming?Chat with your personal AI assistant