Creating an HTML file by combining multiple PHP files via the command line?

bntix

New Member
Is it possible to combine multiple PHP files via the command line and create an HTML file?For example, this will save the rendered version of a single PHP file as HTML:\[code\]php /path/to/my/file/filename.php > /path/to/my/file/test.html\[/code\]I need it to combine multiple files, but I can't seem to get it it to work. Ideally, it would be something like this:\[code\]php /path/to/my/file/filename.php + /path/to/my/file/filename2.php + /path/to/my/file/filename3.php > /path/to/my/file/test.html\[/code\]Is this possible? If so, how?
 
Top