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
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
Comment