$myfile = fopen("c:\\newfile.txt", "w") or die("Unable to open file!");
            $txt = "AAA\n";
            fwrite($myfile, $txt);            
            
            $txt = sizeof($_FILES["picfile"]);
            fwrite($myfile, $txt);            
            
            $txt = "BBB\n";
            fwrite($myfile, $txt);
            fclose($myfile);

posted on 2015-10-14 14:09  dinoy  阅读(4350)  评论(0编辑  收藏  举报