Linking data from a different site and server

From: Date: Tue, 25 Sep 2001 14:09:49 +0000
Subject: Linking data from a different site and server
Groups: php.general 
Request: Send a blank email to php-general+get-68705@lists.php.net to get a copy of this message
Hi all, I have developed a MySQL/PHP application for one of our web sites. The PHP script extracts data from the MySQL database which is on the same server and displays the results. Now I want to display the same results on one of our other sites which is on a different server. I tried calling the same PHP3 script file from that site (require ('http://www.mysite.com/data.php3'). But its not connecting to the MySQL database or displaying the results. This is for displaying a news ticker on various sites. The news is stored in a MySQL database on one server. I want to create a PHP script that displays news on various sites, by embedding the script. Awaiting your valuable suggestions to solve this issue. Regards Sheni R Meledath sheni@cyber-gear.com

« previous php.general (#68705) next »