Results 1 to 3 of 3

Thread: Any way to call PHP methods in a diffierent domain?

  1. #1
    Ext User
    Join Date
    Jan 2010
    Posts
    14
    Vote Rating
    0
      0  

    Exclamation 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
      0  

    Default

    A JSONP request can be cross-domain...

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    461
    Vote Rating
    43
      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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •