Good day!

Help me please. How to replace the function

if (file_get_contents('https://raw.github.com/dekmabot/Asterix-CMS/master/core.txt')) { $check_web_access = true; } else { $check_web_access = false; } 

using curl or file_get_contents_curl ?

Thank!

  • And what's the problem ...? - Artem
  • one
    The problem is that hosting does not allow the use of file_get_contents. - Junior
  • well then curl. - Artem
  • Well, the question is about what? I don’t know how to implement this with curl :( - Junior
  • and google or search to type the text is it difficult? I’m just getting at it, of course it's easier to write a message and ask a question on the forum and sit and wait when they answer you, but after all, you can find the answer yourself on the Internet. - Artem

1 answer 1