hello, pls let me know how i output PHP to file system
Thanx!
if you mean output to the terminal than just run the following command from the prompt: php <filename>.php
=====
If you mean write to files, then you'll need to use the functions [man]fopen()[/man] and [man]fwrite()[/man]
output to file system or save to file system
Assume you want to write to a file called file.txt
then you need code like:
// this is what you want to output to the file $writeThis = "Text To Write"; $res = fopen("file.txt", "w"); fwrite($res, $writeThis); fclose($res);
That's the basic idea.
Thanx-is writing to a file the same as outputting to a file system?
Does that script go in the body?