RE: [PHP] Strange problem with fputs ($fp, $newVote)

2001-07-07 Thread SED
($filename, "a"); <- the plus taken away! ftruncate ($fp, 0); fwrite ($fp, $newVote); fclose ($fp); Can this be a bug? SED -Original Message- From: SED [mailto:[EMAIL PROTECTED]] Sent: 7. júlí 2001 21:56 To: [EMAIL PROTECTED] Subject: [PHP] Strange probl

[PHP] Strange problem with fputs ($fp, $newVote)

2001-07-07 Thread SED
Hi, I'm having strange problem with the fputs() - it occurs only on my IIS server but not on the Linux/apache server (I use the IIS while programming). The problem: fputs ($fp, $newVote); It does not write the content of $newVote into the text file $fp is pointing to. If I check the va