We have this functioning php-snippet:
<?php include($_SERVER['DOCUMENT_ROOT'].'/iapath/iapathlist.php');?>
It works fine,
however, when it is put into a Wordpress page on a subdomain wp3 = wp3.mywebpage.org, which is hosting the Wordpress part of the site, then it doesn’t work.
Of course we use the absolute path in this case.
<?php include($_SERVER['DOCUMENT_ROOT'].'https://www.mywebpage.org/iapath/iapathlist.php');?>
There is also a simple php date snippet running fine.
What can be the reason it, doesn’t compile?
/
with best regards, Omar KN, Stockholm, Sweden