Click to See Complete Forum and Search --> : PHP, Apache, MySQL, Win98


Anon
10-22-2000, 07:19 PM
Sorry if this question has been asked before (I've looked through the archives though, can't seem to see it), but is anyone else having a problem with headers with apache, PHP and Win98?

Basically, the problem I'm having is that when I go to the page http://localhost/index.php, or any other page for that matter, the headers for the page are actually printed to the screen by internet explorer, obviously not as it should be.

Has anyone else experienced this problem, and has anyone got ANY idea how to stop it happening?

Thanks,
Mark

Anon
10-23-2000, 01:05 PM
may be you want to setting the DirectoryIndex file name, this is the first page running in your server when the server is connected.try for it .

Anon
10-24-2000, 07:07 PM
Nah, got that set to index.php - it's not giving me a directory listing, just showing the page that should be shown with the headers (Content: text/html etc..) above it. It's screwing everything up because I use cookies a lot on the site I'm developing and simulating the domain name offline using the "hosts.sam" file in c:\windows, all of which works fine apart from the fact that it's printing these headers.

Has no-one else had this problem?? I think I'm going insane....:-)