“chemin relatif” Réponses codées

chemin relatif

   /   = Root directory
   .   = This location
   ..  = Up a directory
   ./  = Current directory
   ../ = Parent of current directory
   ../../ = Two directories backwards
Elated Eagle

chemin absolu

An absolute path refers to the complete details needed to locate a file or folder, starting from the root element and ending with the other subdirectories. Absolute paths are used in websites and operating systems for locating files and folders.
An absolute path is also known as an absolute pathname or full path.

Example:
http://www.foo.com/images/kitten.png
Ankur

chemin relatif

require __DIR__ . '/../folder1/folder2/file';
Brainy Beaver

chemin relatif

path/to/file.php
Lakshan Wijerathne

Réponses similaires à “chemin relatif”

Questions similaires à “chemin relatif”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code