Forum Moderators: phranque

Message Too Old, No Replies

subdomain

create subdomain in php

         

devjyoti bagh

4:13 pm on Jul 22, 2005 (gmt 0)



Thanx for allowing me to join WebmasterWorld.com.

I am new to php & Apache Server. I have a requirement where my user will come and register at my site. Based on theie user ID a folder is created.

Now the issue is if someone registers himself as John then my folder is created as http://www.example.com/john/

But when user wants to access his file the he must type [john.example.com...] instead of http://www.example.com/john/

Thanx in advance

[edited by: jatar_k at 5:10 pm (utc) on July 22, 2005]
[edit reason] examplified [/edit]

jatar_k

5:10 pm on Jul 22, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld devjyoti bagh,

try alook at this thread and see if that might offer some options
Dynamic Sub-Domain with PHP [webmasterworld.com]