Mozilla shows source code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sickalien
Forum Newbie
Posts: 2
Joined: Mon May 12, 2003 9:31 am

Mozilla shows source code

Post by sickalien »

Hi everyone:

I have this problem.
When I access some documents with mozilla it shows the source code instead of the formatted page, It is shown correctly with IE in most cases, but some coworkers said that some times it happens with IE too.
I wonder if it is a PHP or APACHE issue...
I recently updated to redhat 8, before that it was working OK.

Any thoughts?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

it shows the html-source-code or the php-script-code?
sickalien
Forum Newbie
Posts: 2
Joined: Mon May 12, 2003 9:31 am

Post by sickalien »

sorry...
The HTML code dumped by php is shown.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

maybe the content-type has been changed from text/html to something else (like text/plain). Spooky, I've never seen php to fail at this state.
pootergeist
Forum Contributor
Posts: 273
Joined: Thu Feb 27, 2003 7:22 am
Location: UK

Post by pootergeist »

there is an error in your document or doctype declaration.
Post Reply