Skip to content
  • cbhp's avatar
    always use a user-agent constant · c00450b2
    cbhp authored
    Some providers block connections with missing user-agents. Also
    user-agents are useful for analyzing requests. I've added a USER_AGENT
    constant that is used in cURL and in file_get_contents.
    c00450b2