No loser boy, are you always that rude?
$fp = fopen("textfile.txt", "w");
fputs($fp, $textfilecontent);
fclose($fp);
God that was hard wasn't? Quit being a douche bag, and try asking instead of insulting.
BTW the way that was two years ago, do you always comb through the forums and insult people for posts thay made years ago? Get A Life!