durgaprasadcs Posted January 1, 2014 Share Posted January 1, 2014 Hello, I have a requirement that I need to access php include files from main domain to sub domain on the same server. I tried giving direct path to the file but still i didnt get. Ex : I have a file in following path: www.example.com/folder/includes/file1.php I need to include this file1.php in my subdomain in a index file that is www.subdomain.example.com/index.php Please help me to resolve this. Quote Link to comment Share on other sites More sharing options...
trq Posted January 1, 2014 Share Posted January 1, 2014 I tried giving direct path to the file but still i didnt get Can we see your attempts at this? The examples you posted are urls, not paths. Do you know what a filesystem path is? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.