FW: [SPAM] RE: [PHP] fwrite() Append Files
| From: | Chris Scott | Date: | Fri, 27 Jun 2008 13:47:47 +0000 |
| Subject: | FW: [SPAM] RE: [PHP] fwrite() Append Files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-276053@lists.php.net to get a copy of this message | ||
I don't think you can open files for writing over http, you get an error:
failed to open stream: HTTP wrapper does not support writeable connections.
-----Original Message-----
From: Per Jessen [mailto:per@computer.org]
Sent: Friday, June 27, 2008 2:39 PM
To: php-general@lists.php.net
Subject: [SPAM] RE: [PHP] fwrite() Append Files
Importance: Low
Wei, Alice J. wrote:
>
> Do you mean to edit $ourFileHandle to fopen($ourFileName, 'wba')?
>
I think fopen($ourFileName, 'a') will do what you want.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php