Home  >  Article  >  Backend Development  >  php 友链程序 设计

php 友链程序 设计

WBOY
WBOYOriginal
2016-06-23 13:42:13946browse

想用php做一个友链程序,别人站访问我站1次,我还他3次,该怎么设计啊?


回复讨论(解决方案)

别人是指他通过他的友情链接过来,还是通过网其他方法链接过来。

友情链接过来

是友情链接过来的,根据$_SERVER['HTTP_REFERER']获取对面的url,然后再通过其他方式自动访问3次就好。。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn