Hi all, this is my first post here!

I have a script that can be included on any website that executes a php script before it displays content on the page it is included on. However at the moment I can only include it on PHP pages. My question is this:

Using AJAX can I include a link to an offsite javascript, that will execute the PHP file and return the code to any page regardless of any server technology (JSP, HTML, ASP)?

For example: the php script is on examplea.com and it needs to be included on exampleb.com in an ASP file, using javascript could i run an AJAX script on exampleb.com that is called from examplea.com to execute the PHP file and output to example.com?

I dont think i can make it much clearer, but if clarity is needed ill do my best.

Thanks in advance!

Dan