Google等自定义搜索引擎 [英] Custom Search Engine like Google

查看:69
本文介绍了Google等自定义搜索引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





i我创建了一个项目,用户登录我的网站。当他进入网站时,他可以访问不同的网站和用户访问任何站点。站点的链接必须存储在数据库中。问题是用户如何访问我用户登录到我的站点后显示的文本框中的不同站点。

Hi,

i am created a project in which a user log in in to my site.when he enter in to site he can visit different sites and when user visit any site.the link of site must be stored in the database.the problem is that how can user visit different sites from my text box which i displayed after user logged in to my site.

推荐答案

假设您想将 Google 作为其中一个链接。然后您可以显示访问Google作为 LinkBut​​ton 或普通按钮



按钮单击事件中,编写逻辑以将URL存储在数据库中,然后重定向到 google.com
Suppose you want to give Google as one of the links. Then what you can show is "Visit Google" as a LinkButton or Normal Button.

In the Button Click Event, write your logic to store the URL in database and then redirect to google.com.


用户只需正常访问它,因为我们将谷歌浏览器写为google.com。和谷歌apear在我们的屏幕上。
User just visit it as normal, as we write in google chrome as google.com. and google apear on our screens.


这篇关于Google等自定义搜索引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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