I am editing PHP files on my server. I am in the habit of including several comments at the top of each file containing licensing information, my web address, and the version number of the software. I'd like a more convenient way of maintaining this practice without having to manually deal with it when I open and update PHP files on my server. It would be nice if I could also append a timestamp of my recent modification at the bottom of the file too.

I am currently using Dreamweaver 8.0.2.

If Dreamweaver would append this header to the top (taking into account that the file may have a header already in place), that would be acceptable.

If the FTP server would append the file (assuming it is a PHP file) when I download or upload it, that may work too.

I'm unsure what approach to take or what would work for this.