Hallo
Warum benutzt du nicht einfach eine if-Abfrage?:
if(file_exists($datei)) {
$rand = rand(10000,99999);
$datei = "themen/$rand.txt";
}
Daniel
Hallo
Warum benutzt du nicht einfach eine if-Abfrage?:
if(file_exists($datei)) {
$rand = rand(10000,99999);
$datei = "themen/$rand.txt";
}
Daniel