Hi there,

I need to do a JQuery ajax request to an action of my CakePHP app but
with the Javascript in a different domain than the Cake app's one.

After reading this very good article : 
http://developer.yahoo.com/javascript/howto-proxy.html
I created a proxy PHP file following these explanations:
http://stackoverflow.com/questions/660949/how-to-implement-a-cross-domain-ajax-request-using-cakephp-and-jquery

Well, if I put the proxy in /app/webroot (as explained in the second
article) it doesn't work, which seems logical : why could a javascript
call a php script in /app/webroot/ if he can't connect an action? It's
the same problem.

So my question is : where should I put my PHP proxy script so that it
works fine???

I read many articles on this subject but they all say the same and
they don't answer my question.

Thanks in advance

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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