PHP object exchange between servers

Posted by bensiu on Stack Overflow See other posts from Stack Overflow or by bensiu
Published on 2010-12-23T21:42:09Z Indexed on 2010/12/23 21:55 UTC
Read the original article Hit count: 204

Filed under:
|

I got script what read from database and manipulate it so on the end I got $result array... on one server

is it possible to serialize this object and pass it to other script so this $result array could be available for other script on second server...

I got on first server:

return serialize ( $results );

and on second:

$data = unserialize ( file_get_contents ( 'http://www.......com/reader.php' ) );

...but there is no communication between .... What I am doing wrong ?

Bensiu

© Stack Overflow or respective owner

Related posts about php

Related posts about serialization