FW: [SPAM] RE: [PHP] fwrite() Append Files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx] 
Sent: Friday, June 27, 2008 2:39 PM
To: php-general@xxxxxxxxxxxxx
Subject: [SPAM] RE:  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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux