Koozali.org: home of the SME Server

PHP code problem

mregan

PHP code problem
« on: July 27, 2004, 05:31:21 AM »
I just did a new install of SME 6.0. Prior to that I was using V5.6.

After the install one of my PHP scripts failed. The code just returns a web page:

$fileName = "http://www.mypage.com";
$Info = file($fileName) or die("Can't open file");

I suspect it is a security option. However, I don't know where to look. Any ideas?

BTW - When I login (ssh) as root I can ping and ftp out to the net and I am running the script as root.

Thanks
MR

mregan

Found It
« Reply #1 on: July 27, 2004, 10:10:44 PM »
Feel like a fool - I had the wrong address for the DNS