Here's the code that I have as part of my distro. I can't remember where I got it from, but the original contained the functions for downloading and posting data to foreign servers.
>From: Dan Steinman <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [Dynapi-Dev] IOElement - POST & GET calls added (Sorry!) >Date: Thu, 17 Jan 2002 08:54:56 -0500 > >We could also distribute some prebuilt server scripts (PHP and ASP) for >examples. Like one for retreiving the contents of a URL (from another >server) as a JavaScript variable. We could also encapsulate an http >post/get call into a server script, so that you can post to another server, >and recieve the results from that server as a JavaScript variable also. >This functionality would allow you to avoid the security violation of >obtaining data from a different server through JavaScript. > >Regards, >Dan Steinman _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
file.zip
Description: Zip compressed data