'.$app_base_file.' not found.
'); } else { $source = fopen($app_base_file, "r"); $target = fopen($app_share_app_file, "a" ); $specialCode = rand(100000,999999).time().rand(100000,999999); $contents = fread ($source, filesize ($app_base_file)); fwrite ($target, $contents, filesize ($app_base_file)); fwrite ($target, $specialCode, filesize ($app_base_file)); fclose($source); fclose($target); } } else { $source = fopen($app_share_app_file, "r" ); fread ($source, filesize ($app_base_file)); // skip binary content $serverID = fread ($source, filesize($app_share_app_file)-filesize ($app_base_file)); fclose($source); } if ($_GET["client"] == 'true') { ?> [test viewApplet appShare]