[thelist] ...try again

John Corry jcorry.lists at gmail.com
Sun Aug 23 11:17:21 CDT 2009


That didn't work.
I saw material online that suggested that calling URLs from other domains
with XMLHttpRequest() is allowed as of FF 3...but that doesn't seem to be
the case.

The code works great as long as I'm calling a script on my domain, but fails
when I try to call the script from one of our other domains.

So now I'm shifting gears into looking for a cURL alternative.

John

On Sat, Aug 22, 2009 at 10:58 PM, Anthony Baratta <anthony at baratta.com>wrote:

> John Corry wrote:
> >       http_request.open('POST', url , true);
>
> Quick and dirty check. Change the above to:
>
>        http_request.open('POST', url , false);
>
>
> This way the browser waits for the return code instead of sending and
> not waiting.
>
>
>
> --
> Anthony Baratta
>
> "There are only two kinds of people that understand Marines: the Marines
> and the enemy. Everyone else has a secondhand opinion." -- Gen. William
> Thornson, US Army
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>



-- 
John Corry
PHP developer - 3by400, Inc
http://www.3by400.com



More information about the thelist mailing list