Hey guys, whats the best way of creating PHP files using php?
I want to create a new file for each article for example, how to do that?
I want the file to be created using PHP because the content in the file might change later on .

The file is something like that...

static header
Changeable content (taken from a database)
static footer

thanks for the help.