Jump to content

Recommended Posts

hi guys, im building a script which will be shared among multiple users, so im adding a news section, i want this news section to be updated from our home site, this news section will contain patch info ect,

 

so my question is which way is better, more likely to be supported by servers, and cleaner,

 

1) Rss feed, (can you read the info from a rss feed out like normal text?)

2) remote file inclusion

3) remote file get contents

4) remote database connection, (not to sure about this option as that would reveal our password and username to the end user)

5) any other options you could suggest?

 

cheers matt

Link to comment
https://forums.phpfreaks.com/topic/111664-best-way-to-add-data-remotly/
Share on other sites

sorry, i msut not have explainede this very well, the user does not modify this data we(the creators) do, this is simply notices to the admins of the script (it is a shop) to let them know when a upgrade is available, or any important news, so we want one point on our site where we can modify the data and it will change on everywhere that is using the script.

 

cheers,

 

matt

They are three similar, but different, XML-over-HTTP based protocols that allow two servers to communicate.

 

I recommend google to learn more...

 

I like Zend Framework's classes for creating and consuming each service...

 

http://framework.zend.com/manual/en/zend.rest.html

http://framework.zend.com/manual/en/zend.xmlrpc.html

hi there, sorry to be a pain, but ive been doing some researxh into xml over http and still dont really understand how to use it,

 

can you please show me a example,

 

lets say the page thats sending it is

 

http://example.com/sending.php

 

the recieving page is http://example2.com/recieving.php

 

the content i want to send is:

<hr>
<strong>We have released patch 1.2.0.7.1</strong><br />
Please visit <a href="www.example.com/downloads.php"> Here</a> to dowload.
<hr><hr>

 

 

thanks alot guys

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.