- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 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";
}
Комментарии (0) RSS
Добавить комментарий