1. #1
    Ext User
    Join Date
    Jan 2010
    Posts
    14
    Vote Rating
    0
    ivanzhaowy is on a distinguished road

      0  

    Exclamation Any way to call PHP methods in a diffierent domain?

    Any way to call PHP methods in a diffierent domain?


    I'm using a PHP RPC server and in some reasons I have to put the frontend and the backend in different domains, any way to cross-domain-call PHP methods?\

    HELP! and thx

  2. #2
    Sencha User siebmanb's Avatar
    Join Date
    Aug 2011
    Location
    Geneva (CH) - Grenoble (FR)
    Posts
    253
    Vote Rating
    16
    siebmanb will become famous soon enough

      0  

    Default


    A JSONP request can be cross-domain...

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    369
    Vote Rating
    6
    stewardsencha is on a distinguished road

      0  

    Default


    I believe that if you want cross-domain RPC, you put a proxy on the server side (ie use curl to fetch results)

    client --> host -->some other domain --> host --> client

    If your other domain is on the same server, symlink and/or your scripting language can do.

Thread Participants: 2