alexxx Posted August 31, 2007 Report Share Posted August 31, 2007 Ka var uztaisit peejamu visiem pieejamu direktoriju! piemeram saits.lv/down/ Link to comment Share on other sites More sharing options...
Delfins Posted August 31, 2007 Report Share Posted August 31, 2007 Nav skaidrs, kas nav skaidrs. Uztaisi parastu direktoriju un viss. Link to comment Share on other sites More sharing options...
alexxx Posted August 31, 2007 Author Report Share Posted August 31, 2007 ok es uztaisiiju parada You are not authorized to view this page file (mode ir 755) Link to comment Share on other sites More sharing options...
Delfins Posted August 31, 2007 Report Share Posted August 31, 2007 (edited) ieliec htaccess ar parametriem DirectoryIndexe (laikam) Edited August 31, 2007 by Delfins Link to comment Share on other sites More sharing options...
alexxx Posted August 31, 2007 Author Report Share Posted August 31, 2007 hostejos uz nano.lv un admin paneli nav htaccess Link to comment Share on other sites More sharing options...
alexxx Posted August 31, 2007 Author Report Share Posted August 31, 2007 hmmm... zel gan ka nevienam nav sava viedokla!!! Link to comment Share on other sites More sharing options...
Delfins Posted August 31, 2007 Report Share Posted August 31, 2007 Uzcep parastu skriptu dir nolasīšanai. 100%, ka to var atrast šeit forumā. diskutēts ilgi. Link to comment Share on other sites More sharing options...
alexxx Posted August 31, 2007 Author Report Share Posted August 31, 2007 ok iesleedzu cgi-bin tagad ir .htaccess Options -Indexes<---tagad! nomainiit ta? DirectoryIndexe Link to comment Share on other sites More sharing options...
alexxx Posted August 31, 2007 Author Report Share Posted August 31, 2007 nekadigi nesanaak! :( Link to comment Share on other sites More sharing options...
Delfins Posted August 31, 2007 Report Share Posted August 31, 2007 RTFM apache manual, tur ir Link to comment Share on other sites More sharing options...
alexxx Posted August 31, 2007 Author Report Share Posted August 31, 2007 nav gan! Link to comment Share on other sites More sharing options...
alexxx Posted August 31, 2007 Author Report Share Posted August 31, 2007 salikt failus es varu saits.lv/down/ bet apskatit neviens ta vinus nevares! nu tipa ta es iekachaju bildi saits.lv/down/bilde.jpg,vai lalala.txt to visi redz bet pashu down nevar atveert!!! Link to comment Share on other sites More sharing options...
dmitriy Posted August 31, 2007 Report Share Posted August 31, 2007 ja tev tur nesanak ar htaccess, lieto php ka tev to jau teica, try this, example 500, http://lv2.php.net/manual/en/function.readdir.php#id2688772, vairak tev nevajadzes Link to comment Share on other sites More sharing options...
alexxx Posted August 31, 2007 Author Report Share Posted August 31, 2007 (edited) ok sk! bet lieta tada kur lai es lieku <?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "$file\n"; } } closedir($handle); } ?> Edited August 31, 2007 by alexxx Link to comment Share on other sites More sharing options...
Val Posted August 31, 2007 Report Share Posted August 31, 2007 index.php ? Link to comment Share on other sites More sharing options...
Recommended Posts