When using PHP is it possible to include a file on one server in another file on a different server using the URL of the file you want to include. If so how would it look.
I think the only way you could do this is have your php files on the different server called something different than .php...
say .txt.. this might work.
You could use the file() command to read the remote file into an array. Then iterate through the array and print each line. Something like:
$lines = file("http://www.somedomain.com/file.txt");
foreach($lines AS $line){ print "$line\n"; }
I would like to thank both of you for your input. Josh what you suggested worked perfectly, I still have test to run but so far everything is fine. If I have any other questions I hope that you guys will reply. Thanks again.