$openfile  = $path.'/'.$i_file1.'.php';
$openfile  = $path.'/'.$i_file2.'.php';
$openfile  = $path.'/'.$i_file3.'.php';
$openfile  = $path.'/'.$i_file4.'.php';
$openfile  = $path.'/'.$i_file5.'.php';
$openfile  = $path.'/'.$i_file6.'.php'; 你这么用肯定有问题的吧,顺着执行下来不相当于只执行了最后一个么?