Script zum Löschen von doppelten Zeilen Beispiel Quelle
Script zum Löschen von doppelten Zeilen Beispiel Quelle
// Define the folder to clean // (keep trailing slashes) $captchaFolder = ‚temp/‘; // Filetypes to check (you can also use *.*) $fileTypes = ‚*.jpg‘; // Here you can define after how many // minutes the files should get deleted $expire_time = 20; // Find all files of the given file type […]
Dieses Code Snippet dient dem Suchen und Löschen von /**/ Kommentaren in einem String $string = preg_replace(„#/*(.*?)*/#s“, „“, $string);[/php]