View Full Version : Modifying FlashXMLHttpRequest demo to function like php/ajax include

12-01-2006, 04:51 AM
I'm trying to use FlashXMLHttpRequest (http://blog.monstuff.com/archives/000294.html) to include content from another domain onto a server that does not support php by passing the parameters to a remote php file and requesting the page result.

I don't understand exactly how this script is functioning and can't seem to modify it to work in a script tag. I would like to simply drop the function and have it dump the contents of the remote file and have the browser render it when the page loads, similar to DynamicDrive's Ajax Includes Script (http://www.dynamicdrive.com/dynamicindex17/ajaxincludes.htm).

I would appreciate it if someone would explain how to modify the script to do this.