Hey all.
Interesting problem here, at least for me ;--):
How to generate php pages using fopen() without having php code evaluated in
the written pages?
For example, if build_pages.php runs a db query and, based on the result
set, produces a test page using fopen(), how to avoid having php code
Hi Noah,
You seem to be just copying a file, if so
use this instead:
http://www.php.net/manual/en/function.copy.php
Or try to describe what you're trying to do and
what the you see as a problem.
Both fread() and fwrite(0 don't interpret the
PHP code in files that they are reading and
writing.
2 matches
Mail list logo