Jump to content
php.lv forumi

par linka noraadiishanu


Klokjis

Recommended Posts

Varbuut kaads var preciizaak, luudzu apgaismot mani ko noziimee .../ un ../ un ./

Kaut kaa bish piemirsies, kjipa cik zinu ../ ir 1 folderi back. a kaa to uzraxtiit kad vajag 2us folderus paiet uz augshu?!

 

edit: source nevis linka ;)

Edited by Klokjis
Link to comment
Share on other sites

/ = sakne

/etc

/etc/bla/

/etc/bla/xbla

/tmp/kkas

 

skripts atrodas zem /etc/bla

sakne buus doc_root

lai tiktu uz /etc izmantojam ../ lai tiktu uz xbla varam itaa: ./xbla vai /etc/bla/xbla

ja skripts irs zem /etc/bla/xbla un lai tiktu saknee tad: ../../

Link to comment
Share on other sites

×
×
  • Create New...