从URL中删除不需要的邮件地址 [英] Remove unwanted email address from URL

查看:151
本文介绍了从URL中删除不需要的邮件地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行一个具有google adsense广告的网站,他们最近通知我,我将PII(个人身份信息)传递给他们。这是一个惊喜,因为我故意设计的网站,以避免这样做,并已经发现,一些用户没有按照网站上引用流量的方向,并输入他们的电子邮件地址,而不是他们的推荐号码。 p>

例如,他们应该使用 http:// www.scratch4satoshis.com/?r=2127



而是使用 http://www.scratch4satoshis.com/?r=redacted@sample.com ,因此,他们发送的流量显示谷歌广告,如果他们点击它们,将该PII传递给Google,现在他们正在威胁关闭我的Adsense帐户。



该网站是用PHP编写的;我想知道有没有办法修改传递给Google Adsense的信息?

解决方案

尝试过滤get参数整数值:

  $ r = intval($ _ GET ['r']); 


I'm running a site that has google adsense advertisements on it, and they recently notified me that I'm passing PII (Personally Identifiable Information) to them. This came as a surprise, since I intentionally designed the site to avoid doing that and have come to find out that some users are not following the directions on the website for referring traffic and are inputting their EMAIL ADDRESSES instead of their referral numbers.

For example, they should be using http://www.scratch4satoshis.com/?r=2127

but instead are using http://www.scratch4satoshis.com/?r=redacted@sample.com and so, the traffic they send there are shown google ads and if they click them, pass that PII along to google and now they're threatening to close my adsense account.

The site is written in PHP; I'm wondering if there is a way to modify the information being passed to Google Adsense?

解决方案

Try to filter get parameter as integer values:

$r = intval($_GET['r']);

这篇关于从URL中删除不需要的邮件地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆