Render PHP files in TextEdit

May 05, '03 08:41:00AM

Contributed by: Anonymous

I accidentally dropped a .php file onto Text Edit today (I missed the BBEdit icon in the dock by about 4 pixels!). Surprise surprise, Text Edit did quite a good job of rendering the page as a web page! I was just expecting to see the code.

[robg adds: I couldn't get TextEdit to do anything with a couple PHP files I tested it with, but I've also tweaked its preferences to disable all rendering, and perhaps I didn't re-enable everything properly.]

Comments (1)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20030501050822664