I’ve two sub-domains : 1) root/mobile where mobile points to m.mydomain.com 2)root/beta where beta points to beta.mydomain.com
But I want both the sub domains to access some common folders that are under root like root/images
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can access files in a directory higher than the one you are in with
... For example, let’s say we’re inroot/mobile/index.phpand we want to accessroot/lib/include.php. You could include the file withinclude('../lib/include.php');Note: This assumes that the “common files” you are trying to access are both accessible from this user account.