zdgtl 3 months ago
zdgtl #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";
    }
}
PHP script SRT to VTT Converter

PHP script SRT to VTT Converter

defaultuser.png
zdgtl
2 months ago
Cara Menghapus baris duplikat atau baris ganda

Cara Menghapus baris duplikat atau baris ganda

defaultuser.png
zdgtl
3 months ago

Host Live Checker

defaultuser.png
zdgtl
2 months ago
FTP login Checker

FTP login Checker

defaultuser.png
zdgtl
3 months ago
Menghapus string sebelum dan sesudah patern menggunakan regex di notepa++

Menghapus string sebelum dan sesudah patern menggunakan regex di notep...

defaultuser.png
zdgtl
2 months ago