Hi,
assume we have domain
http://abc.com
And we have another domain
http://test.com
Files are on the abc.com domain but i want to show data of abc.com to test.com without placing any files of that code.
Please help me out…
Hi,
assume we have domain
http://abc.com
And we have another domain
http://test.com
Files are on the abc.com domain but i want to show data of abc.com to test.com without placing any files of that code.
Please help me out…
If I understand the question correctly, isn’t it just a case of configuring your web server to use the same virtual directories for both domains? Then whichever you connect to, the same files are delivered. Or is there more to it than that?
yes you are right, i want to configure my web server to use the same virtual directories for both domains
OK, I can’t help on that but it will probably help others if you post what web server you are using. And it’s probably not a PHP thing.
Moved to Server Config.
Can you explain how the files are stored on abc.com and how you want to retrieve the data. An example would be better.
Php file_get_contents(…) may be worth investigating.
J_B is correct because you cannot redirect to another domain and leave the original URL in place. If you want to stay at abc.com but display test.com’s content, you will need to read the content of text.com and display it on your abc.com page.
The question is WHY (because this is something a content pirate would do)?
Regards,
DK
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.