[pmwiki-users] FOX-question: reading / writing plain text files ?

Hans design5 at softflow.co.uk
Sat Feb 6 05:33:29 CST 2010


Saturday, February 6, 2010, 9:50:37 AM, Knut Alboldt wrote:

> But I've no idea how to write into a textfile instead of a pmwiki-page.
> Is it possible ? Do I have to write a Handle for this ?

PS: another approach might be to manipulate the $EditFunctions array.
Write a function which will save to text file (using the php functions
fopen, fwrite, fclose), add it to $EditFunctions array, and remove
'PostPage' from it. This could be done without hacking fox.php.


  ~Hans




More information about the pmwiki-users mailing list