Hi Devon, Although I personally never use .phps, I'm +1 on implementing this the way you have suggested.
Yasuo: I don't like .phps either, but this is quite a clean approach in the face backwards compatibility. Since we are not likely to ever remove phps, taking highlight file into user-space just to add line numbers seems like an unneccessary exercise in coding, both for php-dev and for the end-user, especially when one of the intended uses of this feature is to help newbies with their code. Remember that PHP is intended to make web developers lives easier! --Wez. On 09/18/02, "Devon O'Dell" <[EMAIL PROTECTED]> wrote: > Considering I've written this, I think I've done the research. You > *don't* configure x-application/x-httpd-php-source-with-line-number > or whatever. When you view the .phps (or .php script with > highlight_file()), if you have accessed the page with a trailing > ?HIGHLIGHT_FORMAT=lineno, you get line numbers. This was > the general consensus of how this feature should work if it were to > be adopted as ini entries were frowned upon. ... > Just to be fair, I'd ask what people are thinking about this "feature" > now, is anyone else still +anything about it? Additionally, if you > are + about it, is the ?HIGHLIGHT_FORMAT check decent? -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php