Please don't initate curl_init() directly but use Moodle's own "curl" class which is a wrapper on PHP's curl functions and takes care of security and proxy settings.
it's not documented well - do a search on moodle core code for "curl" to see how it's used.
Please don't initate curl_init() directly but use Moodle's own "curl" class which is a wrapper on PHP's curl functions and takes care of security and proxy settings.
it's not documented well - do a search on moodle core code for "curl" to see how it's used.