Skip to content

Instantly share code, notes, and snippets.

@tutweb tutweb/move.php
Created Jun 20, 2016

Embed
What would you like to do?
Script transfer file antar CPANEL hosting
<?php
/* Mengambil file dari hosting lama */
/* File juga bisa diambil dari IP tertentu */
$content = file_get_contents("http://DOMAINLAMA.com/FILE_WEB_SAYA.zip");
/* Menyimpan file di hosting baru. pada folder yang diinginkan */
$fp = fopen("/home/u86427JWEB/public_html/FILE_WEB_SAYA.zip", "w");
fwrite($fp, $content);
fclose($fp);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.