PHP syntax highlighting
Todd Kirby
kirbyt@yahoo.com
Sun, 1 Apr 2001 00:48:24 -0800 (PST)
---------------------- multipart/mixed attachment
Hi,
I made a change to checkout.php to enable PHP syntax
highlighting.
Attached are the changed files:
checkout.php -- added code to check for PHP and do
syntax highlighting
mime.php.dist -- added a mime type for PHP scripts
config.php.dist -- added a config option for turning
on/off PHP syntax highlighting
I have a copy running on my dev box with these changes
made if you want to see what it looks like. Just
drill down until you get to a PHP source code
listing.
http://64.164.69.92/chora/cvs.php
(The source code in this cvs is the version with the
PHP syntax stuff)
There is probably a more general solution that would
work with c, c++, java, but PHP has this built in and
it was easy to implement..
Thanks for a great app!
-Todd Kirby
Programmer
Walt Disney
=====
"Blinky lights are the essence of technology. Everything
else is fluff."
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text
---------------------- multipart/mixed attachment--