You are here: Re: Creating SubDomain with PHP « PHP Programming Language « IT news, forums, messages
Re: Creating SubDomain with PHP

Posted by Jerry Stuckle on 10/07/47 11:59

Maximus wrote:
> I have a registration form, when after registering, the user would get
> a subdomain
>
> http://username.domainname.com
>
>
> I created a wildcard DNS which happened to redirect *.domainname.com to
> the public_html folder.
>
> I need to find a way to redirect eahc subdomain to it's user folder.
>
>
> Any solutions?
>

I'd normally handle this in a .htaccess file instead of PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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