How does a web server determine whether it include aphp code?
Answers
Answered by
0
Every programming language has its own syntax. In PHP, it is
<? php
// here is the code
?>
So, whenever a server determines that the code is started with tags and php, it determines it as php.
<? php
// here is the code
?>
So, whenever a server determines that the code is started with tags and php, it determines it as php.
Answered by
2
Answer:
- The PHP software works with the web server, which is the software that delivers web pages to the world. When you type a URL into your web browser's address bar, you're sending a message to the web server at that URL, asking it to send you an HTML file. The web server responds by sending the requested file.
Similar questions