“camino relativo” Código de respuesta

camino relativo

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

camino absoluto

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

camino relativo

path/to/file.php
Lakshan Wijerathne

camino relativo

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

Respuestas similares a “camino relativo”

Preguntas similares a “camino relativo”

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código