[Web]链接,例如会员链接 [英] [Web] Links like Affiliate Links

查看:91
本文介绍了[Web]链接,例如会员链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想创建一个注册表,这不是问题,而是
它的问题是,如果用户注册,我希望获得链接.
我将此链接描述为会员链接,因此服务器具有
要知道,有人点击该链接有多少次了?有多少人通过此链接注册了该网站.

该链接称为什么,任何人都可以给我发送说明
关于那个?

谢谢

问候niko



i would like to create an register form, thats not the problem, but
its the problem that, i want if an user registers, to get a link.
This link i would describe like an Affiliate Link, so the server have
to know, how may times did somebody clicked on his link and how many people registered through this link to the website.

What is that link called, and could anybody send me a description
about that?

thank you

greets niko

推荐答案

实际上,您可以通过在链接本身中添加用户ID或代码或任何您希望作为查询字符串的内容来完成此操作,并配置页面来执行此操作链接中是否包含查询字符串,无论您要执行什么操作

例如:您的用户ID是1113
您的链接将为http://www.yourwebsite.com/reg.aspx?id=1113

然后在您的注册页面的页面加载时,添加代码以检查查询字符串,并添加您希望增加点击次数或增加的任何内容,如果要直接使用该ID,请提防Sql注入数据库

希望这对您有帮助
Actually you can do this by just adding your user ID or Code or whatever you want as a query string in the link itself and configure your page to do whatever you want to if the link has a query string in it

ex: your user ID is 1113
your link would be http://www.yourwebsite.com/reg.aspx?id=1113

then at page load for your register page add the code to check for the query string and add whatever you want either a number of clicks to be increased or soever and beware of Sql injection if you going to use that id directly to the database

Hope this helped


这篇关于[Web]链接,例如会员链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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