want to include a file from main domain to subdomain
index.php - on subdomain.example.com
ini_set("allow_url_fopen", 1);
ini_set("allow_url_include", 1);
$host = $_SERVER['HTTP_HOST'];
if($host == 'localhost'){include("../navt.php");}
else{include("https://example.com/navt.php");}
on localhost - there is no problem (win 10, xampp, chrome)
on remote server - I'm still getting this:
include(): https:// wrapper is disabled in the server configuration by allow_url_include=0