This is a translation of this article
mapsource koder crackI made a function that automatically find the external links to the pages made by SnN, and store in the database. The list of the links to the individual articles can be seen from the hyperlink at the end of the article. The link to the top page can be seen in a list if you click on the link at the bottom of the side bar on the left.
It was easy to implement this with PHP; the referer's URI is stored in a system variable callled $HTTP_REFERER, and by tracking back this link, you can retrieve the information on the refering site. SnN looks for <title> tag, and store it as the title of the referer's site name. We should be aware that the value in $HTTP_REFERER will be lost unless it is copied to session variable or etc while it is still in the main php program.
Posted by DAIGO on Mon, May 22, 2006, 12:44 Permalink
Article category: Development
Tags: linkback
Web pages that link to this article
Comments on this post:
There is not a comment on this article yet.
S-N log
