test

// create curl resource $ch = curl_init(); // set url Se metto dentro un pagamento di utente che già esiste curl_setopt($ch, CURLOPT_URL, ” https://api.vohippo.com/v2/pbx.php?f=getExtensionStatus&email=xere4tqf9rx@t-ech.it&apikey=378a7468b15e6c15901ca5dc990d4a0b&pbx=491028556-101&username=180910″); //return the transfer as a string curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // $output contains the output string $output = curl_exec($ch); // close curl resource to free up system resource curl_close($ch); /////////// QUI C’è LO STATO DELL’INTERNO echo $output;