"PHP" / Говнокод #21265 Ссылка на оригинал

0

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
c("openDlg1")->execute(); 
$dir = c("openDlg1")->fileName; 
$files1 = scandir($dir); 
$files1 = str_replace("..","",$files1); 
$files1 = str_replace(".","",$files1); 
unset($files1[0]); 
unset($files1[1]); 
$count = 2; 
$x = count($files1); 
while ($count<=$x){ 
$p1 = file_get_contents ("p1.txt"); 
$p2 = file_get_contents ("p2.txt"); 
$put = $p1.$dir."/".$files1[$count].$p2; 
$count = $count+1; 
file_put_contents ("index.html",$put, FILE_APPEND | LOCK_EX); 
c("chromium1")->url = "index.html"; 
}

Запостил: NodnolStudio NodnolStudio, (Updated )

Комментарии (0) RSS

Добавить комментарий

Помни, guest, за тобой могут следить!

    А не использовать ли нам bbcode?


    8