I tried it, even with the byte length identifer it worked perfectly for me.
As a last ditch effort try changing the w to w+. If not then it sounds like
a configuration issue for the webserver or php. Dunno what settings though,
sorry couldn't be of more help.
----- Original Message -----
From: "CC Zona" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 16, 2001 10:48 PM
Subject: Re: [PHP] fwrite not writing (simpler example), PHP 4.0.4pl1,
Apache/1.3.14


> In article <006701c0c699$ad65cdc0$8b1412d1@null>,
>  [EMAIL PROTECTED] ("Chris Anderson") wrote:
>
> > come to think of it, why are you passing 3 arguements to fwrite()?
>
> Whoops!  That's a typo left over from the last round of tests,  adding
> every optional argument just in case something wasn't really optional.  Of
> course the third argument actually belongs to fopen().  Though it
shouldn't
> be needed there either.  (And yup, I just double-checked and it doesn't
> work without the typo either. <sigh>)
>
> --
> CC
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to