View Single Post
Old 04-18-2007, 03:19 PM  
betty1980
Registered User
 
Join Date: Apr 2007
Posts: 9
Quote:
Originally Posted by adultseo View Post
Hi!

The most easy way is this:

Server 1:
Code:
<?php

$data = array(array(1,3,4,5),1,2,3,4,array(array(10,11,12),'test'));
$output = var_export($data,true);

print $output;

?>
Server 2:
Code:
<?php

$data_text = file_get_contents('url/to/server_1.php');
eval('$data = '.$data_text.';');

print_r($data);

?>

Thank you, but I don't understand.
I need to send data to the other server and accourding to this data perform an action. I didn't mean to just read the data as is on the other server.
betty1980 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote