This article describes how to get the link of the previous article by Zhimeng dedecms. This article describes how to use PHP to get the link of the previous article. For more information, see, the link and title of the post and post are called on the article page. by default, dedecms labels for the previous and next posts are {dede: prenextget & amp; #39; pre & amp; #39 ;} {dede: prenextget & amp; #39; next & amp; #39 ;}. Sometimes out of need, we only need a link instead of a title ,... this article describes how to get the link of the previous article by Zhimeng dedecms. This article describes how to use PHP to get the link of the previous article. For more information, see, on the post page, call the link and title of the post. by default, dedecms labels for the previous and next posts are {dede: prenext get = 'pre'/} {dede: prenext get = 'next '/}. Sometimes, out of need, we only need a link instead of a title. what should we do? Should we be able to use regular expressions? That's right! The final implementation code is provided below. Dedecms Template: www.php1.cn/xiazai/code/dedecms?address code is as follows: demo:prenext get = 'pro' runphp = "yes"} preg_match_all ('/(. + ?) <\/A. *?> /Sim &#
1. how to get the link of the previous article by Zhimeng dedecms
Introduction: in the previous articles, I introduced how to use Python to analyze source code to crawl blogs, Wikipedia InfoBox, and images. the link to this article is as follows: [python learning] simple crawling Wikipedia program language message box [Python learning] simple web crawler crawling blog articles and ideas [python learning] simple crawling pictures in website Image Library
3. download the wordpress path and pseudo-static configuration in nginx for the wordpress topic
Introduction: Download a wordpress topic. download the wordpress path and pseudo-static configuration in nginx. if the problem persists, go to the wordpress background. The homepage can be opened. if the problem persists, a path error is displayed on other functional pages, then we compared the path with the wp-admin part missing in the path, and set the pseudo static Day and name mode of the article to display the article link. suddenly, we found that the article link could not be opened, and the error 404 was displayed, these should be the server nginx site configuration problems. The following is the configuration file of the wordpress site under my nginx: server {listen 80; server_na
4. fully prevent SQL injection attacks in PHP 3 (1) _ PHP Tutorial
Introduction: fully blocking SQL injection attacks in PHP (1 ). Links to the first two articles in this series:
5. dedecms list page article link http: // localhost/plus/view. php? Aid = 2522 static, _ PHP Tutorial
Introduction: dedecms list page article link http: // localhost/plus/view. php? Aid = 2522 static ,. Dedecms list page article link http: // localhost/plus/view. php? Aid = 2522 static, 1. we add a custom property to jump to the article and fill in the jump URL, as shown in figure 2. we find that the link address is
6. fully prevent SQL injection attacks in PHP (1)
Introduction: fully blocking SQL injection attacks in PHP (1 ). Links to the first two articles in this series:
7. dedecms list page article link http: // localhost/plus/view. php? Aid = 2522 static,
Introduction: dedecms list page article link http: // localhost/plus/view. php? Aid = 2522 static ,. Dedecms list page article link http: // localhost/plus/view. php? Aid = 2522 static, 1. we add a custom property to jump to the article and fill in the jump URL, as shown in figure 2. we find that the link address is
8. [original] configuration and actual application and instance of sphinx real-time index
Introduction: using coreseek to quickly build a Chinese word segmentation search engine sphtracing link: http://blog.zhuyin.org/789.html this article assumes that you have established a normal index coreseek application based on this basis, talk about how to achieve real-time index! # Configuration file vi/usr/local/coreseek/etc/sphinx_index_r for real-time indexing
9. full structure analysis of OpenCV 2.4.8 components
Brief introduction: [original: http://blog.csdn.net/poem_qianmo/article/details/19925819] article link: http://blog.csdn.net/poem_qianmo/article/details/19925819 author: Mao Yunxing (light ink) mailbox: happylifemxy@163.com writing the current blog supporting the use of OpenCV version: 2.4.8
10. [gpu pro] legitimate defense 2 rendering technology
Introduction: humus was written on the gpu pro, many of which were mentioned on his website and later on siggraph12. the similarities in the links in the article will not be recorded, combined with the article above in siggraph12, it can be said that the amount of gold is quite high, there are many highlights that can be used for reference. The light index multi-light source processing method is not the deferred series, but the l
[Related Q & A recommendations ]:
Php matches the article link in the blog directory
Why should the javascript-JS event stream be designed into three phases and how to confirm the propagation path?
Mysql returns multiple total numbers in one SQL statement.
Ask a regular expression: "^ (/wiki /)((?! :).) * $ )"
Regular expression-sep parameter of python pandas
The above is a detailed description of the article link. For more information, see other related articles in the first PHP community!