Jump to content


PHP > HTML Parsing

  • Please log in to reply
2 replies to this topic

#1 jaic

  • Members
  • PipPip
  • Member
  • 18 posts

Posted 03 September 2006 - 09:38 AM

Just starting to set up apache, php and mysql, all new to this, but cant get .php files to read in html browser, but when i take out "echo" lines, they read as standard .html files, can anyone help me configure my machine so i can get started please, thanks.


#2 paul2463

  • Members
  • PipPipPip
  • Advanced Member
  • 955 posts
  • LocationUK

Posted 03 September 2006 - 11:13 AM

are you using the php tags?

your code here


you cannot affect the past but you can ruin a perfectly good present by worrying about the future

The <A HREF="http://www.php.net/d...php">MANUAL</A> is actually a useful resource

#3 Mutley

  • Members
  • PipPipPip
  • Advanced Member
  • 765 posts

Posted 03 September 2006 - 11:15 AM

It is very most likely that your Apache web server isn't setup correctly, you have to add the PHP settings into the config file for Apache, otherwise it won't detect it as PHP resulting in it being displayed as text (html).
~ Mutley.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users