how can i create virtual folders in server automatically...
Posted: Mon Jul 03, 2006 11:39 pm
i need to generate vitual folder through php program in apache server, by which i can generate subdomains
.
for ex: if i click on the links of my site
link1 link12 ---------------------
like that, when i click on this link generally we will generate folder naming link1 by mkdir() function in server
then the url will be sitename.com/link1/
but i need to generate the url like: http://link1.sitename.com
ie virtual folder, so how can i create those by program, in apache server,
i hope i have given u the clear picture of my doubt,
i hope the best from u,
.
for ex: if i click on the links of my site
link1 link12 ---------------------
like that, when i click on this link generally we will generate folder naming link1 by mkdir() function in server
then the url will be sitename.com/link1/
but i need to generate the url like: http://link1.sitename.com
ie virtual folder, so how can i create those by program, in apache server,
i hope i have given u the clear picture of my doubt,
i hope the best from u,