You cannot do ajax requests to pages outside the domain where the
script was server.

Security reasons. You need a proxy script in your server to do the
request. Google that.

On Oct 15, 12:11 pm, Cruentatio <[EMAIL PROTECTED]> wrote:
> Hi, I need to write a little JS file in which I need to make a call
> like this http_request.open('GET', url, true); where URL is a cakephp-
> like url (http://my-site.com/controller/action/par1/par2) and return a
> view in the web site that start the request and put in a dedicated
> DIV.
>
> The JS should be added to any web-site.
>
> Can you help me!?
>
> Thanks!!!
> Bye!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to