Transfer data from one server to another. : WDDX « Utility Function « PHP






Transfer data from one server to another.

 
<?php
$fp = fopen ( "http://localhost/remote.php", "rt" );
if ($fp) {
  $wddx = "";
  while ( ! feof ( $fp ) ) {
    $wddx .= fread ( $fp, 4096 );
  }
  fclose ( $fp );
  echo utf8_decode ( wddx_deserialize ( $wddx ) );

}
?>
  
  








Related examples in the same category

1.WDDX Functions in PHP