Sorry I've just removed the file. ----- Original Message ----- From: "John Nichel" <[EMAIL PROTECTED]> To: "Hatem Ben" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, December 29, 2002 12:55 AM Subject: Re: [PHP] how could a php script return a dns error ?
> I went to it in Netscape 4.x, 6 & 7, and got this.... > > /* > Not Found > The requested URL /index-old.php was not found on this server. > > Apache/1.3.20 Server at dynamix-tn.com Port 80 > */ > > In IE, I got.... > > /* > The page cannot be found > The page you are looking for might have been removed, had its name > changed, or is temporarily unavailable. > > -------------------------------------------------------------------------- ------ > > Please try the following: > > If you typed the page address in the Address bar, make sure that it is > spelled correctly. > > Open the www.dynamix-tn.com home page, and then look for links to the > information you want. > Click the Back button to try another link. > Click Search to look for information on the Internet. > > > > HTTP 404 - File not found > Internet Explorer > */ > > Hatem Ben wrote: > > Ok, this is Netscape shots > > http://www.dynamix-tn.com/28dec2002/Image1.png > > > > If you want with lynx i'll do it, it's always the same. > > > > Better, i can do this : > > $sockhandle = @fsockopen("http://www.dynamix-tn.com/index-old.php", 80, &$errno, &$errstr); > > if(!$sockhandle) { > > echo "<center><h5>server dynamix-tn.com not available!: $errno : $errstr</h5></center>"; > > } else { > > echo "<center><h5>server dynamix-tn.com is available!: $errno : $errstr</h5></center>"; > > } > > and run it from here, it return server not available. > > > > ----- Original Message ----- > > From: Leif K-Brooks > > To: Hatem Ben > > Cc: [EMAIL PROTECTED] > > Sent: Saturday, December 28, 2002 10:49 PM > > Subject: Re: [PHP] how could a php script return a dns error ? > > > > > > No, it is IE specific. It's IE's general error message, which means the document contains no data in this case. > > > > Hatem Ben wrote: > > > > it's not an IE specefic :)) netscape or opera or whatever will return the > > same error message. > > > > ----- Original Message ----- > > From: "Paul Reed" <[EMAIL PROTECTED]> > > To: "'Hatem Ben'" <[EMAIL PROTECTED]> > > Sent: Saturday, December 28, 2002 10:19 PM > > Subject: RE: [PHP] how could a php script return a dns error ? > > > > > > It's not really a dns error, that the general error that MS Internet > > Explorer spits out when it can't find the file, as opposed to showing > > you the erro 404 file not found ... > > > > PHP cannot give a dns error, looks like your just linking to a file that > > doesn't exist and that's IE's friendly way of telling you so ... yes .. > > a bit confusing to the developer. (Thanks again MS...) > > > > Try it with netscape, and I bet you'll get a 'file not found' error > > instead... > > > > Paul. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php