我如何只允许网站回复? [英] How do I allow only website response?

查看:76
本文介绍了我如何只允许网站回复?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我允许人们报告他们认为是恶意的网站。如何让文本框只注册REAL域名?例如www.google.com。如果他们放了像google这样的东西,就会显示错误。



我尝试过的事情:



由于我不知道该做什么,没有尝试过任何事情......

解决方案

为了确保注册域名,你必须做一个'查找' - 因为有几个API,一些是免费的,一些不是......只需进行谷歌搜索并选择一个适合你的( LMGTFY [ ^ ])



但是,在查找表中查找域名并不意味着它背后有真实的网站(试试office256.com )...

I am allowing people to report a website that they think is malicious. How would I make the textbox only register REAL domain names? for example www.google.com. If they put something like google, show an error.

What I have tried:

Have not tried nothing due to me not knowing what to do...

解决方案

To be sure that a domain name is registered, you have to do a 'lookup' - for that there are several APIs, some for free and some not... Just do a Google search and pick the one fits you (LMGTFY[^])

However, finding a domain name in a lookup table does not means that there is a real site behind it (try office256.com)...


这篇关于我如何只允许网站回复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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