Could you point me to the page for this script? I would like to read more about it.
I have joined the development mailing list. Waiting for my fist mail. One note of concern that I will research. If someone starts with a .html file and adds php content, then uploads it and renames it to .php, a script could be executed if the detect script does not register it as a php file. I would really like to examine this script in detail to determine if it was made with security in mind. It sounds as though it could be quite a useful tool. sigh. When i was programming we didn't have all these other scripts. Its reached a extreme. You don't code now unless you have to. You use code snippets from other people. I was hesitant to use sessions when they came out.... ha ha. It use to be that a good programmer was someone who knew code very well and could program circles around problems in a simplistic way while minimizing downfalls such as cpu and memory usage, while keeping in mind things like security and something I was really concerned about, usability. Now, usability is a difficult issue, as you no longer have control over much of what happens. Good programmers are not the ones who can code well, they are the ones who know others who code well, and what code snippets are available and there ideal usage. We have moved from a finite science; a language that could be understood in its entirety and mastered by a programmer, to one that is larger than any one programmer or group of programmers, its become a living organism. Existing in the collective minds of every creative programmer, and its limits are not defined by any manual, education or conception. Its limits are beyond all therese. They are defined by the vast reaches of the minds of the programmers of today, who continually change there code base and rework there own minds around the needs of the moment. Our dead science of programming is in the middle of being abolished. BETA is has now been labeled in the new way. Not by a manual or deadline, but by the limits of the collective minds of the programmers involved in present and future programming. I know myself to be a BETA programmer. It is now clear that to help this project I must move my solitary manual oriented mind into the expanding oceans of today. Please excuse my rambling. Brendan On Nov 3, 2008, at 10:12 AM, Dave Crossland wrote: > 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