bUTschy.de

  • code

PHP file_exists

Erst mal gucken ob die Datei überhaupt existiert.

if (file_exists('/apps/rss.php')) {
 echo 'Ja, die Datei existiert!';
} 
else {
 echo 'Nein, existiert nicht!';
}

https://www.php.net/../function.file-exists.php

  • 0 Kommentare
  • 837 Klicks

▼ Kommentare


Kommentar hinzufügen