output string to text file
Moderator: General Moderators
output string to text file
i have been able to create a string that reads the right way, now i need to output the string to a text file and save it to a folder on the server.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: output string to text file
See the manual, especially this section: http://www.php.net/manual/en/book.filesystem.php . Specifically the file_put_contents() and fopen()/fwrite() functions.
(#10850)