Forum Moderators: open

Message Too Old, No Replies

Dynamic sub-domain in php - very urgent

Dynamic sub domain in php

         

sandykadam

11:45 am on Jun 14, 2007 (gmt 0)

10+ Year Member



Hi Friends,

I'm a PHP developer from india. I have to work on dynamic subdomain creation process via php. I need to create folders of users who registers on site. And server platform is windows and control panel is plesk.

For time being i have created user folders like.
http://example.com/shop_stores/sandy/
http://example.com/shop_stores/mike/
http://example.com/shop_stores/john/

but i want to display as

[sandy.example.com...]
[mike.example.com...]
[john.example.com...]

there are some files in user folder to see that users site. For example you can view following link which i want to do.
<snip>

Also wherever i want to give href link i will be able to give
[sandy.example.com...]

So can anyone please help me or guide how to do this kind of functionality.

Thanks in advance.

[edited by: engine at 12:15 pm (utc) on June 14, 2007]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]

sandykadam

4:58 am on Jun 16, 2007 (gmt 0)

10+ Year Member



Hello Friends,

Please help me... reply to my question its urgent..