PHP code destination
![]()
You may be wondering in which files PHP code stays.
Well, PHP code may lodge in certain files, particularly those with the common extension .php, and are then furnished in same form to the browser in a URL. The server then reads the PHP code and brings a series of facts to the browser which in turn converts it as a web page.
There are unique instances though when PHP code can also be contained in a stationary HTML (XML, XHTML) location, found in a CMS. What usually takes place is that PHP offers the dynamic phase in these pages through the text part, and not actually a solo .php file for the whole page.