File_get_contents

User/Host jano.epizy.com
I can’t access to my site using file_get_contents or cURL from external website.

Simply example code:

$url = “http://jano.epizy.com/index.html”;
$data = file_get_contents($url) ;
echo $data;

Also tryed with other directories, files, extensions, etc.

This security protocol may be the cause…

5 Likes

The security system doesn’t affect PHP Scripts. this is the result of using different hosting lol - Is there a specific error that you get? Please share it if there is.

Emphasis added by me.

Definitely what @Greenreader9 said.

2 Likes

Thanks for your help.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.