Ok the first part of that article is just to illustrate how it COULD work. Here is the problem. In that example it assumes you are hitting the web server from localhost\site and that you are logged on to the webserver as Admin. Now, lets say you wanted to use Windows Authentication to allow people to create virtual directories and execute your above script, now you have a management problem because you have to assign User Name and Passwords to people to allow them to be authenticated and, again, that is an Admin user account that can do ANYTHING on the webserver. This is akin to giving a Bank Robber the keys to the vault and going out to lunch.
The second half of the article gets into the C++ where you design a COM component to provide this functionality.
-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature
|