Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Connecting to database from another website secure? Re: Connecting to database from another website secure?

#106252
Schmotty
Participant

Some servers have limitations on including files on other servers, for security reasons. So you’ll have to test that. You can create additional MySQL users that you give read only access.

You could do it where you have a page that includes another page returning the information and let other sites link to that with an iFrame, like how facebook does it.

http://www.yoursite.com/comments?user=username:


$user = $_GET;
if (verifyusercode($user)){
include(schartsfile.php);
}
?>