give subdomain access from domain

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
seuntech
Forum Newbie
Posts: 13
Joined: Thu Feb 24, 2011 4:54 pm

give subdomain access from domain

Post by seuntech »

please i need your help i am finding it difficult to do this.

i have 4 sub domain
iphone.4all.com
bb.4all.com
m.4all.com
mobile.4all.com

i want to give this sub domain access to upload folder in the main domain
and also allow them to fetch image from the folder too

i have tried different means but it is not working
i dont know how to link to upload folder without using www.4all.com/upload
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: give subdomain access from domain

Post by flying_circus »

seuntech wrote:i have tried different means but it is not working
What means have you tried? Do you have any code? This can be done pretty easily by specifying the path, but it depends on your directory structure.
seuntech wrote:i dont know how to link to upload folder without using http://www.4all.com/upload
Have you considered using http://upload.4all.com for all of your subdomains?
seuntech
Forum Newbie
Posts: 13
Joined: Thu Feb 24, 2011 4:54 pm

Re: give subdomain access from domain

Post by seuntech »

thanks
what I needed is a symbolic link I have successfully created it
but right now I am finding it difficult http linking it
Post Reply