Please help with file_get_contents

Any programmatic access to data on your website hosted with us is not possible due to a security system we use:

What to do next depends on why you need to fetch it in the first place.

If you want to fetch it from your own site, you’ll probably want to just require or include the PHP code so it runs in the same request (meaning it’s much faster).

If it needs to be access from other sites, you need to find another solution for this. For example by pushing the latest version to another system, instead of generating it with PHP on the fly.

8 Likes