Ok, here is the setup i want.
I have 5 different sites that I want to include one php file with functions in it on a different site.
test1.com
test2.com
test3.com
test4.com
test5.com
i want them all to include this file
test.com/include.php
with a function like this
function pField($i){
echo array[$i]."asdfasdfadsf";
}
//****************
now the array would be created in the php files on the test1-5.com sites
in the test1-5.com sites i create and array
include "http://www.test.com/include.php";
$a = new array("test","test2");
$b = new array(pField(0),pField(1));
i would like it this way so when i update the one include file all the other sites will be updated as well.
include functions from a php file located on a different domain // as simple as i can put it