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
> [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]