|
|
|
GET /index.html HTTP/1.0
the content of the file index.html is returned to the
requester.
GET /test.php HTTP/1.0
the server interprets the contents of test.php and
sends the result to the requester.
test.php contains:
<html>
<body>
<?php
print( "A classical example: \"Hello, world!\"" );
?>
</body>
</html>
|
the resulting HTML is:
<html>
<body>
A classical example: "Hello, world!"
</body>
</html>
|