“Jalur relatif” Kode Jawaban

Jalur relatif

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

Jalur absolut

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

Jalur relatif

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

Jalur relatif

path/to/file.php
Lakshan Wijerathne

Jawaban yang mirip dengan “Jalur relatif”

Pertanyaan yang mirip dengan “Jalur relatif”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya