Reply to Re: how do I ...

Your name:

Reply:


Posted by Default User on 01/18/06 23:05

Jon wrote:

> <tarscher@gmail.com> wrote in message
> news:1137596851.259695.204780@z14g2000cwz.googlegroups.com...
> > Hi all,
> >
> > I want to create a website (www.example.com) where people kan get
> > create an account. The account gives them access to
> > accountname.example.com or www.accountname.com (if available).

> Well, if you wanted it to be www.accountname.com you'd have to setup
> separate hosting and domain registration each time. That's not a very
> viable method. As far as making them get a subdomain, so
> accountname.example.com, you'd have to make sure your host allows sub
> domains, as well as finding any additional cost. Also, I don't know
> of a way you could make this automated using PhP at all - Generally,
> you'd have to go into your Hosting Control Panel and manually setup
> sub domains. This doesn't sound like anything that PhP can resolve
> for you.


On the whole, I'd say a solution like:

www.example.com/accountname would be a lot better.

It's something that can be done easily and instantly (if that's
desired) with available PHP features. All you have to do is create a
new directory, copy in any base files, and set up some sort of access
control (.htaccess/.htpasswd works for a simple method).

Obviously you may want have an approval step, there are means for doing
that.



Brian

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация