Coderja 3 months ago
Coderja #coding

Mass Copy Files

PHP Bulk Copy File

<?php
$sourceFile = '/home/u981617792/domains/domain1.com/public_html/update.php';
$domainsDir = '/home/u981617792/domains/';

// Ambil semua direktori domain
$domainDirs = glob($domainsDir . '*/');

foreach ($domainDirs as $domainDir) {
    $destinationFile = $domainDir . 'public_html/update.php';
    
    // Salin file update.php
    if (copy($sourceFile, $destinationFile)) {
        echo "Berhasil menyalin update.php ke $destinationFile\n";
    } else {
        echo "Gagal menyalin update.php ke $destinationFile\n";
    }
}
Unix Timestamp Converter

Unix Timestamp Converter

defaultuser.png
Coderja
2 months ago
Time Ago to Date Format Converter

Time Ago to Date Format Converter

defaultuser.png
Coderja
3 months ago

PHP Mass Copy File

defaultuser.png
Coderja
1 month ago
Text Line Replacer

Text Line Replacer

defaultuser.png
Coderja
2 months ago
Reverse Domain

Reverse Domain

defaultuser.png
Coderja
3 months ago