Val Posted August 31, 2007 Report Posted August 31, 2007 /down/index.php ? p.s. tev klavierei pogas ķerās :D
alexxx Posted September 1, 2007 Author Report Posted September 1, 2007 kad ieliku index.php shito <?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "$file\n"; } } closedir($handle); } ?> paradas lapa ta index.php CrackDown.exe vnk texts! kapec ta! meginaju shito kodu <?php // Note that !== did not exist until 4.0.0-RC2 if ($handle = opendir('/path/to/files')) { echo "Directory handle: $handle\n"; echo "Files:\n"; /* This is the correct way to loop over the directory. */ while (false !== ($file = readdir($handle))) { echo "$file\n"; } /* This is the WRONG way to loop over the directory. */ while ($file = readdir($handle)) { echo "$file\n"; } closedir($handle); } ?> vispaar nekas neparadas! ka lai tad isti pievieno!!!!!!???
Val Posted September 1, 2007 Report Posted September 1, 2007 kādu kļūdu rāda? p.s. palasi komentārus kodā
alexxx Posted September 1, 2007 Author Report Posted September 1, 2007 Atradu ka var failus nokachaat,bet pashu folderiatvert nevar,piemeram 'jaunie' permisions denied hmmm! karoch izmantoju tadu skriptu <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Index of /down</title> </head> <body> <h1>Index of /down</h1> <pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/">Parent Directory</a> - <a href="CrackDown.exe">CrackDown.exe/</a> 31-Aug-2007 05:41 - <hr></pre> </body></html> tas strada bet ka uztaisu folderi tipa 'jaunie' nevar atvert You don't have permission to access /down/jaunie/ on this server.
alexxx Posted September 1, 2007 Author Report Posted September 1, 2007 PROBLEMA ATRISINATA! paldies pa visu!
Recommended Posts