Jump to content
php.lv forumi

/../, utt..


-=HELLBENDER=-

Recommended Posts

. -> current (pashreizeejaa) direktorija

.. -> parent (ieprieksheejaa) direktorija

/ -> root (saakum) direktorija

 

Piemeeram reku tev ir struktuura:

 

-
 - bildes
   - bilde.jpg
   - bilde2.jpg
 - video
   - video.avi
   - video2.avi
 - code
   - random
     - file.php
     - file2.php
 index.php

 

/ tevi aizvediis uz pashu saakumu (-) kur tu redzeesi [bildes, video, code, index.php]

 

ja tu atrodies ieksh file.php (vai random direktorijaa), tad ../../bildes/bilde.jpg vai /bildes/bilde.jpg lai tiktu pie bilde.jpg

Edited by rATRIJS
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...