Sub domain creation

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
basudeb
Forum Commoner
Posts: 44
Joined: Wed Dec 20, 2006 12:13 am

Sub domain creation

Post by basudeb »

Suppose my server name is http://www.cost2.net. This is the main server.

Now i divide the server into 5 domains.
1. http://www.esolz1.net
2. http://www.esolz2.net
3. http://www.esolz3.net
4. http://www.esolz4.net
5. http://www.esolz5.net

Now a user named as basudeb has 3 folders (video,pics.songs , ------).
He can upload the images in the folders video, pics, songs .......... .

And he want to see the images by using the url as
http://www.basudeb.esolz1.net/pics,
http://www.basudeb.esolz2.net/pics,
http://www.basudeb.esolz3.net/songs,
http://www.basudeb.esolz1.net/video,


pls suggest me how to do this by using php script.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm pretty sure we've been asked this question before. Have you searched?
Post Reply