how could a php script return a dns error ?

From: Date: Sat, 28 Dec 2002 17:15:13 +0000
Subject: how could a php script return a dns error ?
Groups: php.general 
Request: Send a blank email to php-general+get-129510@lists.php.net to get a copy of this message
Hello all, I got a strange problem, a wrong php script was upladed in my hosting server and make my website return a dns error ! i've discoverd after one day that my index.php was a wrong one ! normally it should return another error related to script not to dns ! can someone explain me this ? Is this caused by server configuration or something else ? this is the correct script url : http://www.dynamix-tn.com/ and this is the wrong script url : http://www.dynamix-tn.com/index-old.php in localhost the index-old.php return this error, wich i think should be the correct error message (at least i can understand that my script is wrong): Warning: fopen("tmp/sample.htm", "r") - No such file or directory in tmp.class.php on line 43 Warning: Supplied argument is not a valid File-Handle resource in tmp.class.php on line 44 Warning: Supplied argument is not a valid File-Handle resource in tmp.class.php on line 45 .... Thanks, Hatem

« previous php.general (#129510) next »