HighDots Forums  

php highlighting for .inc files

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss php highlighting for .inc files in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bwwww
 
Posts: n/a

Default php highlighting for .inc files - 07-20-2004 , 07:55 PM






Hi all,

I would like dreamwaver (mx 2004) to highlight files with the .inc extention with php highlighting. Is this possible?

Thanks very much,

BW

Reply With Quote
  #2  
Old   
bwwww
 
Posts: n/a

Default Re: php highlighting for .inc files - 07-20-2004 , 08:02 PM






I found the answer Edit the file Configuration/DocuementTypes/MMDocumentTypes.xml

Cheers

Paul

Reply With Quote
  #3  
Old   
Alan
 
Posts: n/a

Default Re: php highlighting for .inc files - 07-20-2004 , 08:34 PM



Changing and adding file extensions recognized by Dreamweaver MX and 2004

http://www.macromedia.com/support/dreamweaver/ts/documents/add_ext_mx.htm

Make sure you are editing in the Configuration folder for You as a User.

side note- there's no requirement other than person choice for includes to
have a .inc file extension. Point- if the includes will contain php, it
would be a -very- good idea if the includes had a file extension that will
be parsed (like .php) so that if someone views
http://yoursite.com/includes/file.inc they won't see anything they don't
need to see- like a hard-coded db connection right in the include for
example...


Quote:
I found the answer Edit the file
Configuration/DocuementTypes/MMDocumentTypes.xml

Cheers

Paul


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.