View Single Post
Join Date: Oct 2006
Posts: 232
Reputation: Rhyan is an unknown quantity at this point 
Solved Threads: 24
Rhyan's Avatar
Rhyan Rhyan is offline Offline
Posting Whiz in Training

Re: fwrite not working with ob_start, Any ideas?

 
0
  #2
Nov 20th, 2008
You should use fopen with parameter 'a' or 'a+'instead of 'w' in this way if file exists new data will be appended, otherwise php will attemt to create it.

http://bg2.php.net/manual/en/function.fopen.php
" Of all the things I've lost,
I miss my mind the most...."
Mark Twain
Reply With Quote