file_get_contents VS curl
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘file_get_contents VS curl’ is closed to new replies.