Is there a reason why certain pages are made as .php when you can put php into a .html file? Is it simply for the sake of organizing your files? Or does it affect how the page loads?
(I’m talking about the file extension)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Whether files with the extension
.htmlare parsed as PHP is down to the server’s configuration. Usually, they’re not.That is for a reason: When set that way, the PHP interpreter has to look over every HTML file that gets served, even if it doesn’t contain any PHP code at all. That’s not good for performance.