D
DadRover
Guest
I have Client and at the client some domains (more than ~100). How, from one domain include php-files from another domain with php-commands "require ()" which statement includes and evaluates the specific file?
ex:
body of file "somefile.php" from first domen (domen1.com)
<?php echo "Hello"; ?>
"index.php" file second domen (domen2.com)
<?php require ('../../domen.com/http/somefile.php');?>
Expected result domen2.com:
Hello
ex:
body of file "somefile.php" from first domen (domen1.com)
<?php echo "Hello"; ?>
"index.php" file second domen (domen2.com)
<?php require ('../../domen.com/http/somefile.php');?>
Expected result domen2.com:
Hello