Getting content from remote url with file_get_contents

After upgrading to the new panel and after successfully moving all files there and recreating the databases I’ve trouble using the file_get_contents function… I’m using php version 5.2 but also tried newer ones… The function always returns an empty result (probably string)… But before everything worked fine with the old panel and stuff…
Any help would be appreciated! :slight_smile:

Are you trying to use this function to retrieve remote files?

No, I used that function to get some content of another website… Actually a json API… I know I could use cUrl to do that, but at least with the site I want to get contents of I get an error 403 malware blocked or something like that…
And before migrating file_get_contents worked like a charm

this means that you need to use curl. file_get_contents is not suitable for this due security reasons.

Okay, I’ll try to set up cUrl… I’m just wondering because that method worked out before migrating…

new panel is more secure and yoyr website is also more secure with latest server configurations and upgrades