Is there other way to include a php file on a remote server? Other than <?php include(); ?>
I've built a php script that extracts info from a MySQL database, and I want to include that script (it's content that is extracted from the db) on some remote servers. Those clients have websites built with joomla/wordpress and using a simple php include(); within an article/post would not work. I need something that's easy to use, a "paste-n-go" solution if you like.

Anyway, I don't care about the scripting language, as long as there is a way to embed that page.

Someone told me that it can be done via javascript with a file that will locally call that page, and then another bit of code that will remotely call that script. Sorry if this is confusing...
Is there other way to include a php file on a remote server? Other than <?php include(); ?>
===

I've built a php script that extracts info from a MySQL database, and I want to include that script (it's content that is extracted from the db) on some remote servers. Those clients have websites built with joomla/wordpress and using a simple php include(); within an article/post would not work. I need something that's easy to use, a "paste-n-go" solution if you like.

Anyway, I don't care about the scripting language, as long as there is a way to embed that page.

Someone told me that it can be done via javascript with a file that will locally call that page, and then another bit of code that will remotely call that script. Sorry if this is confusing...