Re: fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14
| From: | Chris Anderson | Date: | Mon, 16 Apr 2001 17:35:04 +0000 |
| Subject: | Re: fwrite not writing (simpler example), PHP 4.0.4pl1, Apache/1.3.14 | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48875@lists.php.net to get a copy of this message | ||
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" <cczona@nospam.invalid>
To: <php-general@lists.php.net>
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>,
> chrisderson@ameritech.net ("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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>