> Dear All,
> I am stuck to a problem and that is, i am working on a project which
> requires user registration like any other website/social networks have and
> then after user registration they want a separate subdomain like
> http://userName.theirWebsite.com
>
> Now i don't understand how is it possible to create a sub domain using Php
> only... Do i need any other program or anything to do this?? My other
> question is, even if i get anything to do this won't it be a security
> threat if any person gets the server credentials, as i will create a sub
> domain for him/her??
>
> As i guess it's not a good idea.. so is there any method using .htaccess or
> anyhow to fulfill this requirement??
> Need suggestions

can this help?
http://blog.merhar.si/post/757871034/mapping-subdomains-to-subdirectories-with-apache

creating a subdirectory from PHP code should be easy (and perhaps secure ?)

Regards
Amit

_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to