Using php i want to send 10 lakh request in 1 minute . And I don’t want to wait for response.I Just want to send a request and forgot that.How i can achieve this can someone provide me a script
function request($search) {
$url = ‘https://www.example.com/search?query=’ . urlencode($search)’;
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, false);
$response = curl_exec($ch);
curl_close($ch);
}
PRADEEP is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.