动态生成网址 [英] Generate url dynamically
本文介绍了动态生成网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
在我的应用程序中,有大量用户.
我想为每个用户生成一个动态URL.
喜欢
如果
hello all
In my application there are a large number of users.
I want to generate a dynamic url for every user.
like
if
www.mysite.com
是我的网址
测试是用户
那么当
is my url
and test is a user
then when
test
登录时,它将重定向
到
sign in it will redirect
to
test.mysite.com
可以请任何人建议我该怎么做.
谢谢.
Can please anyone suggest me how can i do that.
Thanks.
推荐答案
您要使用的内容称为子域.
您应该阅读此Google搜索中出现的一些网站:
What you are trying to use is called a subdomain.
You should read some of the sites that come up in this google search: Understanding Subdomains. You may find your solution in there.
这篇关于动态生成网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文