0) { $site_call = str_replace('www.','',$_SERVER['HTTP_HOST']); } else { $site_call = $_SERVER['HTTP_HOST']; } $fp ="http://www.lwsep.com/remote/remote-index.php?{$info[0]}&site_call={$site_call}"; $file = fopen($fp, 'r'); while (!feof ($file)) { $line .= fgets ($file, 1024); } echo $line; ?>