Darf ich noch erfahren was für eine Webseite du selbst geschrieben hast mit diesem PHP / HTML und CSS das mehr als 25 GB groß ist - das müssen echt viele Zeilen Code sein.
Braucht gar nicht soviel Zeilen ![]()
PHP
<?php
$file = 'temp_25GB.bin';
$blockSize = 10 * 1024 * 1024;
$totalSize = 25 * 1024 * 1024 * 1024;
$written = 0;
$fp = fopen($file, 'wb');
$block = random_bytes($blockSize);
while ($written < $totalSize) {
$remaining = $totalSize - $written;
$chunk = ($remaining < $blockSize) ? random_bytes($remaining) : $block;
fwrite($fp, $chunk);
$written += strlen($chunk);
}
fclose($fp);
echo "Done! Created 25GB file: $file\n";
Display More