I'm having trouble opening a URL. I wish to use the file_get_contents function, but have used the fopen to simply see if the page/file is accessable. I have tried all below with little success (only three work). My setting for allow_url_fopen is 'On' under local and master ini. //$filename = "http://pulsar/Kingfisher/Greenembrace/development/testfile.php"; // this works ok with fopen on my own server //$filename = "file:///pulsar/Kingfisher/Greenembrace/development/testfile.php"; //$filename = "/Kingfisher/Greenembrace/development/testfile.php"; //$filename = "X:/Kingfisher/Greenembrace/development/testfile.php"; //$filename = "X:\Kingfisher\Greenembrace\development\\testfile.php"; //$filename = "Kingfisher/Greenembrace/development/testfile.php"; //$filename = "http://www.greenembrace.org/welcome.html"; //$filename = "http://greenembrace.org/welcome.html"; //$filename = "http://www.greenembrace.org/"; //$filename = "http://www.greenembrace.org"; //$filename = "http://greenembrace.org/"; //$filename = "ftp://www.greenembrace.org/welcome.html"; //$filename = "ftp://www.greenembrace.org/"; //$filename = "http://68.178.234.207/"; // this works ok with fopen //$filename = "http://68.178.234.207"; //$filename = "http://68.178.234.207/welcome.html"; // this works ok with fopen //$filename = "ftp://68.178.234.207/welcome.html"; //$filename = "http://65.206.60.120/data/current_obs/KLFK.rss"; //$filename = "http://www.nws.noaa.gov/data/current_obs/KLFK.rss"; if (fopen($filename,"r")) { echo "The file $filename exists"; echo file_get_contents($filename); } else { echo "The file $filename does not exist"; } please direct me