Re: [PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread James
Thanks Rory: I tried using fopen() and CURL and they both worked like a charm! No need to juggle redirects and session variables. -James At 9:21 PM +0200 8/1/05, Rory Browne wrote: On 8/1/05, Jochem Maas <[EMAIL PROTECTED]> wrote: Rory Browne wrote: > On 8/1/05, James <[EMAIL PROTECTED]

Re: [PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread Jochem Maas
Rory Browne wrote: ... If you don't have admin access to your boxes, then you could write a session handler on one of the systems to dl the necessary sesssion info on demand. For more info see purely out of interest, see what? :-) Sorry - but I thought someone of your experience Jochem wo

Re: [PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread Rory Browne
On 8/1/05, Jochem Maas <[EMAIL PROTECTED]> wrote: > Rory Browne wrote: > > On 8/1/05, James <[EMAIL PROTECTED]> wrote: > > ... > > > > > Do the two machines share a common domain name? are your machines for > > example boxa.commondomain.com and boxb.commondomain.com if so then you > > can have th

Re: [PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread Jochem Maas
Rory Browne wrote: On 8/1/05, James <[EMAIL PROTECTED]> wrote: ... Do the two machines share a common domain name? are your machines for example boxa.commondomain.com and boxb.commondomain.com if so then you can have the cookies(which hold the session tracking number) operate at the commondo

Re: [PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread Rory Browne
On 8/1/05, James <[EMAIL PROTECTED]> wrote: > I have two Windows machines. > > machine A has apache/mysql/php (main host) > machine B has apache/media server (secondary host for high bandwidth > media such as video) > > I have admin tools (written in PHP and using sesson variables) on A > which a

Re: [PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread James
I just thought of something... Will this work... (machine A) User hits submit in the Admin Tools to delete a record. (machine A) I send POST variables to a database php script in a NEW WINDOW...at the end of the script...it uses a header() to call the PHP script on machine B...to delete files