Jump to content

MySLQ and PHP--feeding table to multiple sites


tracy

Recommended Posts

I have heard that one should not link to a table (mysql) on another website.  For example, if I create a table using MySQL and then create a page using PHP to call the data in that table to be displayed on a page...

Then...say I want to call that same data to ANOTHER entirely different WEBSITE...is that unsafe? 

I know it is possible because I have done it before using html and simply framed the php generated table into the html page.  I wonder if this creates some instability or risk of injection or attack...as I am kind of new to php.

I have thought of duplicating the table to the other website first, but that might get complicated since this data could change daily. 

Any suggestions from experienced users of php/mysql would be appreciated.  I want the method I use to be stable and safe. 

The issue is simply this:  multiple websites will have regularly changing tables of data.  These sites will need to feed their table data to a main site daily.  I would like input on the safest and most stable way to do this. 

Thank you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.