PHP's code is written with HTML but for its execution it is necessary to have a server installed.
PHP is actually a software that is installed in a web server where it performs the tasks set by the web developer and sends its output to the user's browser within a few milliseconds.
Whenever the user sends a request to the server for a PHP document through his web browser, the server first sends that document to the PHP processor after finding out.
Two types of operations are performed on the PHP processor:
• Copy mode: In this step plain HTML is copied to the final output.
• Interpret mode: In this the code of PHP is interpreted i.e. executed and the output obtained by it is added to the final output.
Post a Comment
To leave a comment, please Login or Register