Jump to content

Display content from remote server.


mattcairns

Recommended Posts

Hello Everyone,

I've been researching (Googling  ;)) all day, and have not been able to find a definite answer. So I am turning to my trusted friends here. I am trying to display the output of a php script from a remote server on my site. The remote script is pulling entries out of a mySQL database and simply printing them out to be used on the main page. I'll include my reasoning at the bottom in case you are not interested. I am not interested in passing any variables but just getting the output to display on my site. I have control over both servers, and allow_url_fopen is turned on. Any advice would be greatly appreciated.

 

Attempt at a Graphical Example

 

REMOTE SCRIPT

 

+-----+-----+-----+-----+

|  img |  img |  img |  img |

+-----+-----+-----+-----+

 

MY SITE [wish to include remote output]

 

+-----------------------------------------+

|          +------------------------+          |

|          | include remote output    |          |

|          +------------------------+          |

|          +------------------------+          |

|          |                                  |          |

|          |                                  |          |

|          |      OTHER INFO          |          |

|          |                                  |          |

|          |                                  |          |

|          +------------------------+          |

+-----------------------------------------+

 

Sorry if that was annoying, but i thought it might be helpful. Now the reason I want to do this is because my company is hosting an application that handles one aspect of the sites content. It is important for us to keep this application on our server for security purposes, but we are also creating a new website for the client and would like to allow this application to update the site on their server.  Thank you for your time.

 

Matt

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.