Mega Code Archive

 
Categories / Php / Functions
 

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 ) ); } ?>