Questions about PHP frontend homepage and backend homepage (For more information, see !) Isn't PHP generally responsible for backend? How do I design the front-end homepage? I recently read a project development book.
Reply to discussion (solution)
The front-end homepage is designed to rely on html + css. The main function of php is to read data and output html + css code to the front-end.
Projects are all PHP suffixes and all adopt HTML to contain PHP files. why should I end with PHP?
Use HTML to include PHP files
Accurately, php code is embedded in HTML code. this is what almost all web dynamic languages do. Here are some instructions in the manual.
Http://www.php.net/manual/zh/intro-whatis.php
Why end with PHP?
This is a common configuration. web servers such as apache only process the. php suffix file in the request as a script. The suffix of ".html" will not be handed over to php for processing. it is enough to directly read and output the file to the client.
However, this depends entirely on the willingness of website developers. Raise your header a bit. you can see the link to this post:
Http://topic.csdn.net/u/20120408/11/227d2e02-f303-45ac-b44a-0ba9f645ceff.html? 66342
Suffix is the suffix of. html. But in fact, it is also the result of dynamic language processing like php or asp.
Isn't PHP generally responsible for backend? How do I design the front-end homepage? I recently read a project development book.
It depends on how you understand it.
For a website: The front-end is displayed for the user, and the back-end is displayed for the administrator.
For a page: layout, style, static content is the foreground, dynamic content is the background
Projects are all PHP suffixes and all adopt HTML to contain PHP files. why should I end with PHP?
Php suffix files are interpreted and executed by the php System. if no special settings are specified, the php System only interprets php suffix files.
For php files, it should be said that php contains html
Do you have something to do with your project and personnel composition.
If you have explained in detail in terms of terms.
If you work on a project by yourself, the php developer will of course have done the front-end, and will prefer to use php to manipulate and display the front-end part. However, most of your books are old.
How to use php to write a sports lottery front-end interface.