change the method to add author info to file header.
add .php file header support