dict-protocol

    1熱度

    1回答

    我想實現一個字典型服務。 我使用cURL向dict.org發送了使用dict協議的php請求。 這是我的代碼(這對自己的作品,並可能對未來的讀者有所幫助): $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "dict://dict.org/define:(hello):english:exact"); curl_setopt($ch, CURL