hello,
we have made a common program module that can used from different sites on different servers. the problem layout is as follows:
on serverA we have the following:
1) Program (requiretest.php3) that includes and requires files from same site to make the complete program, genreally speaking it is like this...
<?
require("../config/config.php3");
require("classes/class1.php3");
program code goes here...
?>
2)now there is another serverB on which this file is being required using the complete url to the above mentioned program...
<?
require("http://www.test.com/requiretest.php3?var=1");
?>
but doing the above gives us the following error...
Fatal error: Failed opening required 'http://www.test.com/requiretest.php3?var=1'
(include_path='') in /home/sites/site/web/serverpro.php3 on line linenumber
so, seems that ,to require a file from different server and within that file ,few more includes and requires is making problem.
if anybody has worked on it ..let me know asap.
thanks in advance
hiral