Sakoiren Posted November 4, 2010 Share Posted November 4, 2010 Hello to everyone! Dunno how to explain what I'm trying to do, but I'll try my best and if anyone has any idea of what I'm looking for and could point me to some tutorials or something id appreciate it! Pretty much I'll have a website where users upload some stuff into database and then I want to offer those users a chance to display that information on their own websites. So there should be some sort of script that they can put into their website that connects to my database and get that specific users content.. Anyone have any idea how to do this? Thank you in advance! Quote Link to comment https://forums.phpfreaks.com/topic/217776-little-help/ Share on other sites More sharing options...
Casino Posted November 4, 2010 Share Posted November 4, 2010 Hmm... You could use like iframe. <iframe frameborder="0" src="http://www.mypage.com/open.php"></iframe> Then whatever you have in open.php will be availble. Then you can advance it by adding $_GET parameters in the src URL and stuff. Also with HTTP_HOST to be sure that only allowed people can use it? Yeayea Casino Quote Link to comment https://forums.phpfreaks.com/topic/217776-little-help/#findComment-1130397 Share on other sites More sharing options...
possien Posted November 27, 2010 Share Posted November 27, 2010 You could provide a dynamic xml feed from your server. They can't access you db from another server because of security but if you data is relatively small an xml feed from your server could be parsed for display on another server. Quote Link to comment https://forums.phpfreaks.com/topic/217776-little-help/#findComment-1140376 Share on other sites More sharing options...
vicodin Posted January 6, 2011 Share Posted January 6, 2011 XML is def the way to go. Quote Link to comment https://forums.phpfreaks.com/topic/217776-little-help/#findComment-1155525 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.