Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP: Erstellungszeit einer Datei ermitteln

Empfohlene Antworten

Veröffentlicht

Hallo allerseits:

ich brauche eine Möglichkeit eine Datei in einer Verzeichnisstruktur exakt zu ermitteln. Folgendes Problem:

Ich habe eine Verzeichnisstruktur, in der sich einige 1000 Dateien befinden. Diese Dateien werden lustig bearbeitet, umbenannt, verschoben...

Ich brauche jetzt eine Möglichkeit zu einer Datei zusatzinfos zu hinterlegen. Diese Zusatzinfos muss ich dann natürlich einer Datei genau zuordnen können.

Dummerweise ist ja alles veränderlich and der Datei (Verzeichnis, Name, Inhalt, Größe...) Das einzige was ich gefunden habe, was gleich bleibt ist das Erzeugungsdatum der Datei.

Wie komme ich aber von PHP aus an das Erzeugungsdatum einer Datei?

Tja eigentlich beide :-(

filectime ist ja aber die change time. Das ist doch was anderes als die creation time oder?

Jedes andere Merkmal eine Datei eindeutig zu identifizieren würde mir aber auch weiterhelfen. Hat jemand ideen?

Original geschrieben von Habi

filectime ist ja aber die change time. Das ist doch was anderes als die creation time oder?

Achte auf die Kommentare. ;)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.