Hi,

On 19 December 2010 20:33, Bruce Clement <[email protected]> wrote:

> I'm not familiar with this function in PHP, but what you are doing
> matches both my reading of the php manual & my knowledge of the
> equivalent C function.
>
> It shouldn't make a difference, but try the "int file_put_contents (
> string $filename , mixed $data [, int $flags = 0 [, resource $context
> ]] )" function  which is documented as doing an fopen, fwrite, fclose
> sequence .. if that does work it suggests a bug in fwrite.
>
> Yes, works. Very strange, but thanks for the help at this time of
day/week/year!


Jochen

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to