PHP and JS about the problem, ask the great God! I'll give you the whole part.

Source: Internet
Author: User
PHP and JS problem, ask the great God! I'll give you the whole part.
JScript Code
  
  Document.writeln ("<\/iframe>") </pre></dl><br/><br/> I have placed a JS inside the site is an ad network code, I want to know how many visitors have clicked this code, with Php+js how to do oh, this paragraph click AD Code. <BR><BR/>------Solution--------------------<br/> This is to write an IFRAME frame page for the current page <br/><br/> Counting the connection clicks in the IFRAME involves cross-domain operations, not at all. <br/> Unless you change src into your own page, your page will reload their original ad code. <br/> Further statistics. <BR/><li ><i class= "Layui-icon" >& #xe63a;
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.