Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

MitchellMcKenna
Copy link
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.

None yet

2 participants