Loading ...
Sorry, an error occurred while loading the content.

Re: [in-phpug] Need help to build Site

Expand Messages
  • Dr Tarique Sani
    ... First ask your host to turn on wildcard DNS for the domain - this will ensure that http://anything.yourdomain.com will reach your site Then in your code
    Message 1 of 15 , Jul 29, 2005
    • 0 Attachment
      murali krishnan wrote:

      > I am working on Shopping cart prodcut. for each client i need to give the same webaddress(client name prefix with my website) but all sites access same code. for example if my site name is www.test.com, for my client ABC and XYZ i need to create website like http:\\ABC.test.com and http:\\XYZ.test.com. I am using PHP 5.0.4 and windows 2003 server. can anybody help me how to do this.
      >
      >
      First ask your host to turn on wildcard DNS for the domain - this will
      ensure that http://anything.yourdomain.com will reach your site

      Then in your code take a look at $_SERVER to get the needed value and
      take steps to display appropriate data

      HTH

      Tarique

      --
      =============================================================
      PHP Applications for E-Biz: http://www.sanisoft.com

      Coppermine Picture Gallery: http://coppermine.sf.net
      =============================================================
    Your message has been successfully submitted and would be delivered to recipients shortly.