Skip to content

Replace file_get_contents() with cURL for speed/security#8

Merged
scottmac merged 1 commit into
scottmac:masterfrom
MitchellMcKenna:feature/replace-file_get_contents-with-curl
Feb 18, 2013
Merged

Replace file_get_contents() with cURL for speed/security#8
scottmac merged 1 commit into
scottmac:masterfrom
MitchellMcKenna:feature/replace-file_get_contents-with-curl

Conversation

@MitchellMcKenna

Copy link
Copy Markdown
Contributor
  • Replace the file_get_contents() call with a cURL call because cURL performs faster and
    file_get_contents() is disabled on a lot of servers for security
    reasons.
  • I also notice cURL getting a lot of results back from
    websites where file_get_contents() didn't work.

Refs #4

- Replace file_get_contents() with Curl because Curl is faster and
  file_get_contents() is disabled on a lot of servers for security
  reasons.
- I also notice Curl getting a lot of results back from
  websites where file_get_contents() didn't work.
scottmac added a commit that referenced this pull request Feb 18, 2013
…ontents-with-curl

Replace file_get_contents() with cURL for speed/security
@scottmac scottmac merged commit b403cf2 into scottmac:master Feb 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants