true,"webhook"=>"'.$name.'","received"=>$d]);'; file_put_contents($path, $code); echo json_encode(['ok'=>true,'webhook'=>"/api/webhook-$name.php",'created'=>$path]);