Jump to content

Php or html file?


eduard
 Share

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

Edited by birbal
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...