To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
How can you make it so that .INI files are colour coded as .PHP files? When ever I open an .INI file, it colour codes it like a text document (ie: everything is black). For me, I find colour coding very handy and it's a shame I can't have it for .INI.
Thank you for any suggestions to solve this problem.
DW colors the code it interprets, see it's Document Types in Preferences/Color Coding. It reads *.ini files as text files, doesn't interpret them so... I think it's all you get.
__________________
'When the going gets tough, the tough order in'
Actually you can modify Dreamweaver MX to recognise *.ini files and interpret them as PHP, but the problem is that the php.ini file doesn't really have opening and closing <?php ?> blocks in the first place.
DWMX will look for those inorder to begin the PHP code-coloring.
__________________
Scripting PHP, one line at a time | My web site
if so, i would rethink that, i would do it footer.inc.php
that way if someone goes to your site and go to www.domain.com/footer.inc and you don't have apache interpreting .inc files as php, they will see your php code, and you don't want that
and it will solve your .inc color coding problems
__________________ http://www.codesight.net - Custom Web Development, Web Hosting, Web Consulting
Thanks. That's a good idea, but I have no clue about how to use .htaccess. Could somebody point me in the direction of a good content negotiation/.htaccess tutorial? Then I will be able to do this.
If you don't have a clue how to start, here is my suggestion:
Keep paying your host to do it, it isn't worth the hassle of power backups, DNS Servers (you need two of them if you want to do it the right way), keeping up on patches for all server, etc...
Not worth it, unless you are gonna think about having a hosting business with people to do the work when something wrecks
__________________ http://www.codesight.net - Custom Web Development, Web Hosting, Web Consulting