I have the following script:
<?php
#ini_set('include_path', "c://mylocalserver//htdocs//mydirec//");
#include ('list.php');
ini_set('include_path', "http://xx.xx.xxx.xx/");
include ("http://xx.xx.xxx.xx/list.php");
foreach ($items as $mylist) {
$output=$mylist['name'];
echo 'NAME'.''." ".''.$output."<br>";
}
When the ini_set and inlcude is used for the mylocalserver the script runs and echos out the file content and the name and $output as desired, like it's suppose to. When I use the ini_set and include pointing to a remote server I get the file content in the browser, like its reading the file but not running the foreach. What am I missing? Thanks for any help