PHP和JS的有关问题,求大神!全部分都给你

WBOY
Release: 2016-06-13 13:18:00
Original
763 people have browsed it

PHP和JS的问题,求大神!全部分都给你

JScript code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->document.writeln("<iframe height="\'195\'" width="\'784\'" frameborder="\'no\'" scrolling="\'no\'" src="%5C'http:%5C/%5C/www.guanggao.com%5C/code%5C/adview_3pic.php?r=1&c=7&w=784&h=125&b=0080ff&s=004080&bg=FFFFFF&p=808080&u=294&at=p0&tt=t1%5C'"> ")
</iframe>
Copy after login


我网站中放置了一个JS里面是一段广告联盟代码,我想知道来访者有多少人点击了这个代码,用php+js怎么去做哦,这个一段点击广告代码。

------解决方案--------------------
这个是给当前页写个iframe框架页了

统计iframe里的连接点击涉及到跨域操作了,不行的。
除非改了src成你自己的页面,自己页面再加载他们原先的广告代码。
再进一步统计。
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template