I was having some problems with my PHP files (the first 3 HTML lines
missing and Netscape trying to save the page to disk instead of showing it).
So, I telnet'd my web server and manually issued a GET as follows:
GET /anglers/index.php HTTP/1.1
And this was the response:
HTTP/1.0 200 OK
Date: Tue, 04 Dec 2001 21:09:57 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//ES">
<!-- Copyright ® 1999-2001 Jogua Web Solutions v3.0 -->
<!-- BOF: default.inc 2001-12-04 18:09:57 -->
<title>Anglers Aventuras \ Inicio</title>
Note the CRLFs missing after the headers :-/
So the browser -naturally- understand those HTML remarks as being part
of the header, and the HTML starting after those two CRLF I have in my
I know I can "fix" this just typing two CRLFs at the very beggining of
my PHP file, but I'm not supposed to do that. And even if I do that, the
header is still incomplete (i.e. mime type missing).
This happens with 2 different servers, both running WebSite Pro 2.4 and
PHP 4.0.6 (one Windows 2000 Advanced Server and the other Windows XP Pro).
Is this a PHP bug, a WebSite bug or my code?
I don't think I screwed something up because I'm not playing with the
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]