On 1 Dec 2003, at 21:11, [EMAIL PROTECTED] wrote:


I'm just getting into PHP, and have found that as a PHP code editor,
Dreamweaver works pretty well (with the extension I installed). My question
is this, whenever I save an include file with the .inc extension, all of
the
color coding goes away, as does the PHP tab on the tool bar. Is there any
way to make Dreamweaver see a .inc file as a PHP file? I looked on all the
menus and in the preferences, but I couldn't find an obvious way to do
this.

I just name my files filename.inc.php. That way dreamweaver sees them as php files and also prevents malicious users of my sites from seeing the content of my include files should they guess the name of them.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to