Re: News ticker

From: Date: Tue, 25 Sep 2001 17:04:16 +0000
Subject: Re: News ticker
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68738@lists.php.net to get a copy of this message
Make the output in javascript format. If you just want to write to the document, use something like this document.write('<?php echo $whatever; ?>'); My JavaScript is a little rusty, but I think that's the correct format. Have the PHP parsed on your server then the remote site could call it like this: <script src="http://www.yourserver.com/news.php" />. On Tuesday 25 September 2001 10:03, you wrote: > Hi friends, > > I have a created a PHP script for a news ticker. The data is extracted from > a MySQL server. I have to use this script on all our sites which is on > different servers. Is there a way to execute the PHP script from one server > and get the results on these sites. > > For eg: > I am looking for a script that can be put on any page on any sites (even if > the server doesn't support PHP). The script should call the News Ticker PHP > script and execute it from my server and only the results are send to the > client pages. > > Sorry for writing long. I was trying to explain the situation. > > If any body has got any idea on this, please let me know. > > Many Thanks & Regards > Sheni R Meledath > sheni@cyber-gear.com

« previous php.general (#68738) next »