2008/11/3 Brendan Ferguson <[EMAIL PROTECTED]>: >> >> By "headers" Ed means "the first few bytes of the file". So the "file" >> command does indeed identify PHP files perfectly: > > I will take your word on it. I am clearly not up to date on this.
Pehraps the "file" manual will help? :-) $ man file > Will it detect a PHP file with a .html file if I have enabled PHP support in > .html files? Well, it detects PHP files when renamed as HTML files: $ cp index.php index.html $ file index.html index.html: PHP script text _______________________________________________ Openfontlibrary mailing list Openfontlibrary@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/openfontlibrary