• Many hosts (Like the one I’m currently working on) have disabled the allow_url_fopen for security reasons and the the recaptcha won’t work at all on those websites.

    replacing file_get_contents with curl fixes this plus curl is 2+ times faster than file_get_contents. (There are several examples over the web for file_get_contents vs curl)

    Have you consider changing your method from file_get_contents to curl?

Viewing 1 replies (of 1 total)
  • Agreed, this or the math option you suggested as a fallback would go a long way.

    As of recently, some of the sites I’ve had this contact form deployed will no longer work if the Captcha is enabled because of the “please solve ..” issue frequently posted here.

Viewing 1 replies (of 1 total)
  • The topic ‘file_get_contents VS curl’ is closed to new replies.