“caminho relativo” Respostas de código

caminho relativo

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

caminho 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

caminho relativo

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

caminho relativo

path/to/file.php
Lakshan Wijerathne

Respostas semelhantes a “caminho relativo”

Perguntas semelhantes a “caminho relativo”

Procure respostas de código populares por idioma

Procurar outros idiomas de código