Using PHP functions on other servers

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Walker

    Using PHP functions on other servers

    Hi
    I've got two servers I can use for a website. The one (I'll call it 'X') I
    need to keep most of the site on doesn't have all the PHP libraries on I
    need, but I can't put the whole site on the other (called 'Y') because I
    can't use the database from there.
    So, I need a way to be able to call the libraries (GD and PDF) from X with
    the functions on Y. For both of these, I need to be able to write the
    result of the function running on Y to server X. The only things I want to
    have on Y (if possible) are a couple of PHP pages I can call, one for GD and
    the other for PDF.
    I can't get the server admins to add the functions, so I'm having to use
    this route. I need GD to resize some photos on upload to generate the
    thumbnails, and need PDF to generate some standard forms from a database.

    Any ideas / examples greatly appreciated.

    David


  • jack

    #2
    Re: Using PHP functions on other servers

    David Walker wrote:[color=blue]
    > Hi
    > I've got two servers I can use for a website. The one (I'll call it
    > 'X') I need to keep most of the site on doesn't have all the PHP
    > libraries on I need, but I can't put the whole site on the other
    > (called 'Y') because I can't use the database from there.
    > So, I need a way to be able to call the libraries (GD and PDF) from X
    > with the functions on Y. For both of these, I need to be able to
    > write the result of the function running on Y to server X. The only
    > things I want to have on Y (if possible) are a couple of PHP pages I
    > can call, one for GD and the other for PDF.
    > I can't get the server admins to add the functions, so I'm having to
    > use this route. I need GD to resize some photos on upload to
    > generate the thumbnails, and need PDF to generate some standard forms
    > from a database.
    >
    > Any ideas / examples greatly appreciated.[/color]

    try soap or xml_rpc server and clients

    --
    --- --- --- --- --- --- ---
    jack@croatiabiz .com


    Comment

    Working...