试试看这个程序写的会不会乱。。。?
顺便。。。你什么 Web Server 。。。?
<?php
//================================================
// Program Written By xingzhe @5d.cn, 2006.
//================================================
// initialize variables
$the_written_file = "temp.txt";
$the_written_str = "行者宇宙超级霹雳无敌";
// open the file
$handle = fopen($the_written_file,"w");
// write
fputs($handle,$the_written_str);
// close the file
fclose($handle);
?>