Hi Jochen, On 19/12/10 20:08, Jochen Daum wrote:
$x = fwrite($fh, strlen($return));
should be $x = fwrite($fh, $return, strlen($return));
If you were in fact already doing that, then it beats me. Only difference is I normally do "wb" instead of "w+b". The already suggested file_put_contents is probably the better solution anyway.
- Mike -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
