file://

file://Accessing local filesystem

Beschreibung

Filesystem is the default wrapper used with PHP and represents the local filesystem. When a relative path is specified (a path which does not begin with /, \, \\, or a Windows drive letter) the path provided will be applied against the current working directory. In many cases this is the directory in which the script resides unless it has been changed. Using the CLI sapi, this defaults to the directory from which the script was called.

With some functions, such as fopen() and file_get_contents(), include_path may be optionally searched for relative paths as well.

Verwendung

  • /path/to/file.ext
  • relative/path/to/file.ext
  • fileInCwd.ext
  • C:/path/to/winfile.ext
  • C:\path\to\winfile.ext
  • \\smbserver\share\path\to\winfile.ext
  • file:///path/to/file.ext

Optionen

Wrapper Summary
Attribute Supported
Restricted by allow_url_fopen No
Allows Reading Yes
Allows Writing Yes
Allows Appending Yes
Allows Simultaneous Reading and Writing Yes
Supports stat() Yes
Supports unlink() Yes
Supports rename() Yes
Supports mkdir() Yes
Supports rmdir() Yes

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

Was genau bedeutet "Vibe Coding"? Ein tiefgehender Blick für Entwickler

In der Welt der Softwareentwicklung gibt es unzählige Wege, wie man an ein Projekt herangeht. Manche schwören auf strikte Planung, andere auf bewährte Algorithmen und wieder andere lassen sich von etwas ganz anderem leiten: ihrem Gefühl. ...

admin

Autor : admin
Kategorie: Software & Web-Development

PHP cURL-Tutorial: Verwendung von cURL zum Durchführen von HTTP-Anfragen

cURL ist eine leistungsstarke PHP-Erweiterung, die es Ihnen ermöglicht, mit verschiedenen Servern über verschiedene Protokolle wie HTTP, HTTPS, FTP und mehr zu kommunizieren. ...

TheMax

Autor : TheMax
Kategorie: PHP-Tutorials

Midjourney Tutorial - Anleitung für Anfänger

Über Midjourney, dem Tool zur Erstellung digitaler Bilder mithilfe von künstlicher Intelligenz, gibt es ein informatives Video mit dem Titel "Midjourney Tutorial auf Deutsch - Anleitung für Anfänger" ...

Mike94

Autor : Mike94
Kategorie: KI Tutorials

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

ostinex Comprimés. Dostinex Pas Cher Belgique - Vente Dostinex Sans Ordonnance. Mars

Comprimés Dostinex. Dostinex Pas Cher Belgique Avez-vous besoin de médicaments fiables et de haute qualité, mais vous ne voulez pas quitter vot ...

Geschrieben von drawer am 16.06.2026 23:16:42
Forum: IT-Security
vermectin Luotettava kauppa. Ivermectin Halpa all inclusive - Ivermectin Hinta. Hels

Luotettava kauppa Ivermectin. Ivermectin Halpa all inclusive Tarvitsetko luotettavia, laadukkaita lääkkeitä, mutta et halua lähteä kotoa osta ...

Geschrieben von travelder am 16.06.2026 23:16:33
Forum: Tutorials
ildenafil Tabletter. köpa Sildenafil - Sildenafil online droger över natten. Växjö –

Tabletter Sildenafil. köpa Sildenafil Behöver du pålitliga, högkvalitativa mediciner, men vill inte lämna hemmet för att köpa dem? Då är ...

Geschrieben von travelder am 16.06.2026 23:15:39
Forum: Bücher-Forum
anazol drug. Watch Buy Danazol No Prescription - Order Danazol online cod overnight.

drug Danazol. Watch Buy Danazol No Prescription Need quality meds without the hassle? Our online pharmacy is here to help! Browse a wide range of ...

Geschrieben von drawer am 16.06.2026 23:15:38
Forum: Ankündigungen