I’d like to be able to create new PHP, CSS, HTML, etc files with a header appropriate to the file type, which contains automatically generated creation time (CTIME, in the header format that I use) and author name (possibly via a windows environment variable - “Donald Duck” in the example below!). Currently I generate headers via a separate script then cut-and-paste.
E.g. in PHP:
/**
* CTIME : 2024-01-22 10:49:29
* AUTHOR : Donald Duck
*
* MODIFICATION RECORD
*/
Etc. How can I do this?