$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);
时间: 2024-10-03 20:27:11