syedraza70 Posted March 27, 2006 Share Posted March 27, 2006 Hello all,I have a problem here hope someone can help. I am trying to do the following and not sure if this is possible. Here is the scenario:I have three websites in my network and want to display contents of one website on all others. So what I want is:1. Website A have a php function which queries or pings (whatever is right here) with a code (www.example.com?code=2) to a specific page on website B.2. The page on website B selects a data from local database according to the code passed by the wesite A and returns it in multiple variables.3. Website A function then uses these returned variables to display this data on this website.So basically I will build a page on main website which accepts special codes and returns a random data according to that code. And the website which requests this data uses the variables returned.If it is possible, I will be really thankful for your suggestion. Quote Link to comment https://forums.phpfreaks.com/topic/5968-sending-and-recieving-php-variables-externally/ 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.