DOS Paths

DOS requires you to put a path in quotes if it contains spaces.

If you try to run: C:\Documents and Settings\user\My Documents\foo.exe

You receive the error: C:\Documents is not recognized as an internal or external command, operable program or batch file.

However, if you try to run: “C:\Documents and Settings\user\My Documents\foo.exe”

It will work fine. This also applies to many other command line based applications.

Activating ActiveX Controls

Internet Explorer forces you to “Click to activate and use this control” when encountering items such as Flash, Java Applets, Media Players and other objects.

There are a number of ways to fix this issue, Google it. But if you’re lazy and want an answer here and now, you’re in luck.

You will need to download 2 JavaScript files (linked below) and slightly modify the object tag (<object>) as shown below.

Continue reading Activating ActiveX Controls

Guide to .htaccess Password Protection

Sometimes you need to password protect a directory and your only available option is using .htaccess. This comprehensive guide will show you how to do that as well as using .htaccess for other things such as preventing hot linking and blocking bots.

You can also prevent image hot linking with PHP and mod_rewrite.

List-O-Matic (CSS Navigation)

Provides code for a good starting base at CSS navigation using List Items. (<li>)

There are many benefits to using CSS list item navigation menus that I won’t go into. I just highly suggest you use them if at all possible. The site won’t give you everything for all your needs, but as I said – it will give you a great starting point to work from. It’s as simple as modifying the code to suit your needs. Once you review the code and see how it works, you’ll use that style of coding as much as I do.