In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, the editor will share with you the relevant knowledge points of which php static is divided into, detailed content and clear logic. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
Static in PHP is divided into two types, namely: 1, pure static, pure static is divided into local static and complete static, pure static is to save the dynamic pages generated by PHP as static html pages; 2, pseudo-static, pseudo-static or dynamic access, in fact, dynamic data generation, easy for search engines to include.
This article operating environment: Windows10 system, PHP7.1 version, Dell G3 computer.
There are several kinds of static php
The static concept of PHP is divided into pure static and pseudo static.
Pure static can be divided into local static and complete static.
Pure static: the dynamic page generated by PHP is saved as a static html file, and the user visits the static page, rather than regenerating the same web page every time the user visits. The advantage is to reduce server overhead.
Local static: whether there is local data in the generated static file or dynamically obtained by ajax technology;
Completely static: that is, there is no dynamic acquisition of data, so the content comes from static html pages
Pseudo-static: in fact, it is still dynamic access, and its essence is to generate data dynamically.
The URL you visit is similar to "http://yourhost,com/index/post/12", is a static address, which is most common in blog addresses, but in pseudo-static, the URL you visit is actually parsed by the server and will still be resolved to an address similar to" http://yourhost,com/?c=index&a=post&id=12", so it is called pseudo-static. "
Pseudo-static advantages: beautiful; easy for search engines to include pure static implementation using php built-in ob function to achieve static page
These are all the contents of the article "what are the static types of php?" Thank you for your reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.