<bdo id='ZArwz'></bdo><ul id='ZArwz'></ul>

  • <legend id='ZArwz'><style id='ZArwz'><dir id='ZArwz'><q id='ZArwz'></q></dir></style></legend><tfoot id='ZArwz'></tfoot>

    <i id='ZArwz'><tr id='ZArwz'><dt id='ZArwz'><q id='ZArwz'><span id='ZArwz'><b id='ZArwz'><form id='ZArwz'><ins id='ZArwz'></ins><ul id='ZArwz'></ul><sub id='ZArwz'></sub></form><legend id='ZArwz'></legend><bdo id='ZArwz'><pre id='ZArwz'><center id='ZArwz'></center></pre></bdo></b><th id='ZArwz'></th></span></q></dt></tr></i><div id='ZArwz'><tfoot id='ZArwz'></tfoot><dl id='ZArwz'><fieldset id='ZArwz'></fieldset></dl></div>

      1. <small id='ZArwz'></small><noframes id='ZArwz'>

        自定义域名映射到用户配置文件.

        Custom domain name mapping to user profile.(自定义域名映射到用户配置文件.)
        <legend id='lQrhb'><style id='lQrhb'><dir id='lQrhb'><q id='lQrhb'></q></dir></style></legend>

            <bdo id='lQrhb'></bdo><ul id='lQrhb'></ul>

                    <tbody id='lQrhb'></tbody>

                  <small id='lQrhb'></small><noframes id='lQrhb'>

                1. <i id='lQrhb'><tr id='lQrhb'><dt id='lQrhb'><q id='lQrhb'><span id='lQrhb'><b id='lQrhb'><form id='lQrhb'><ins id='lQrhb'></ins><ul id='lQrhb'></ul><sub id='lQrhb'></sub></form><legend id='lQrhb'></legend><bdo id='lQrhb'><pre id='lQrhb'><center id='lQrhb'></center></pre></bdo></b><th id='lQrhb'></th></span></q></dt></tr></i><div id='lQrhb'><tfoot id='lQrhb'></tfoot><dl id='lQrhb'><fieldset id='lQrhb'></fieldset></dl></div>

                  <tfoot id='lQrhb'></tfoot>
                2. 本文介绍了自定义域名映射到用户配置文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  目前,用户个人资料的格式为 website.com/username,这很好.但是,一些重度用户希望使用自定义域名.这类似于 Tumblr.用户被授予 username.tumblr.com 的子域,但允许他们使用映射到子域的外部域.我如何在 PHP 中解决这个问题?允许用户使用自定义域名?

                  Currently, user profiles are in the format of website.com/username which is fine. However, some heavier users wish to use custom domain names. This is similar to Tumblr. Users are given a subdomain of username.tumblr.com but they are allowed to use an external domain which gets mapped to the subdomain. How do I go about this in PHP? Allowing users to use custom domain names?

                  非常感谢您的帮助!

                  推荐答案

                  您可以使用以下示例:

                  基本 PHP:

                  如何让PHP创建子域自动为每个用户?

                  代码点火器:

                  http://net.tutsplus.com/教程/php/basecamp-style-subdomains-with-codeigniter/

                  Zend 框架:

                  Zend 框架中子域重定向的查询

                  $routeitem = new Zend_Controller_Router_Route_Regex('(.*)',
                                      array(1 => '', 'controller' => 'redir', 'action' => 'view'),
                                      array(1 => 'hash'),
                                      '%s'
                      );
                  

                  Drupal:

                  http://drupal.org/node/146344

                  这篇关于自定义域名映射到用户配置文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)

                  <tfoot id='6DKDw'></tfoot>

                  <small id='6DKDw'></small><noframes id='6DKDw'>

                    <tbody id='6DKDw'></tbody>

                          <i id='6DKDw'><tr id='6DKDw'><dt id='6DKDw'><q id='6DKDw'><span id='6DKDw'><b id='6DKDw'><form id='6DKDw'><ins id='6DKDw'></ins><ul id='6DKDw'></ul><sub id='6DKDw'></sub></form><legend id='6DKDw'></legend><bdo id='6DKDw'><pre id='6DKDw'><center id='6DKDw'></center></pre></bdo></b><th id='6DKDw'></th></span></q></dt></tr></i><div id='6DKDw'><tfoot id='6DKDw'></tfoot><dl id='6DKDw'><fieldset id='6DKDw'></fieldset></dl></div>

                          <legend id='6DKDw'><style id='6DKDw'><dir id='6DKDw'><q id='6DKDw'></q></dir></style></legend>
                            <bdo id='6DKDw'></bdo><ul id='6DKDw'></ul>