{"id":16778304,"date":"2023-05-30T05:46:44","date_gmt":"2023-05-30T05:46:44","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/avoid-curl_exec-php-function\/"},"modified":"2023-05-30T05:46:44","modified_gmt":"2023-05-30T05:46:44","slug":"avoid-curl_exec-php-function","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/avoid-curl_exec-php-function\/","title":{"rendered":"Avoid curl_exec() PHP Function"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A new Version of Wordfence uses the curl_exec() PHP Function in the wfWAFHTTP Class. But curl_exec() is disabled by my (and by other) Hosting provider. Because curl_exec() is often used by Malware. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And there is only a single occurence of curl_exec(). Is there a way to avoid this Function or replace it with &#8211; say &#8211; file_get_contents()?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Many thanks, Benjamin <\/p>\n","protected":false},"template":"","class_list":["post-16778304","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16778304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16778304\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16778304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}