Jump to content

Php or html file?


eduard

Recommended Posts

A php file that starts with <html>, <body> is a php fileno matter what it contains. and how it contents. php gives a output to browser. we send html tags as ouput so at the end of the process we see a html tag based page.(cause generaly it sends as text/html mime type).any php command is only executable under the <?php and ?> tag otherwise it will be shown as plain text like

Link to comment
Share on other sites

A php file that starts with <html>, <body> is a php fileno matter what it contains. and how it contents. php gives a output to browser. we send html tags as ouput so at the end of the process we see a html tag based page.(cause generaly it sends as text/html mime type).any php command is only executable under the <?php and ?> tag otherwise it will be shown as plain text like
Ok, thanks! Clear!
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...