Select Page

Classic ASP code for server variables and form variables

During my testing and working on something at work, I found some nice variable display info that can be used when trying to debug/troubleshoot some classic ASP code.  Stuff I usually can’t find when I need it.  So I’m posting it here.

<TABLE BORDER="1"> <TR><TD><B>Server Variable</B></TD><TD><B>Value</B></TD></TR> <% For Each strKey In Request.form %>  <TR> <TD><%= strKey %></TD> <TD><%= Request.form(strKey) %></TD> </TR> <% Next %> </TABLE>

 

Also,

<TABLE BORDER="1"> <TR><TD><B>Server Variable</B></TD><TD><B>Value</B></TD></TR> <% For Each strKey In Request.ServerVariables %>  <TR> <TD><%= strKey %></TD> <TD><%= Request.ServerVariables(strKey) %></TD> </TR> <% Next %> </TABLE>
Outlook 2007 Stationery Location

Outlook 2007 Stationery Location

So when I first started using Outlook years ago, I never really liked the default stationery that people used.  I’m sure some of you remember how some of these things looked.  Like this one…

Bad Outlook Stationery 1

I hated those.  So I was always a ‘text’ guy.  As the years went on, I started using a stationery.  I think it was Outlook 2000 at the time.  So from 2000 to Outlook 2003, and then Outlook 2007, and soon Outlook 2010.  I never remember the location of the .html file for the stationary.  It seems that a.) is changes with each version b.) I can never find the version information that I need at the time and c.) the directory you put it in is always hidden… thus, I’m putting the location for stationery for Outlook 2007 here so I don’t forget.

%USERPROFILE%\AppData\Roaming\Microsoft\Stationery

There, now I’ll remember.

Chain of events

Chain of events

So everybody is up in arms about thisContador looking over his shoulder for Schleck in Stage 15 of the 2010 TdF “chain of events” at this year’s Tour de France in that Contador didn’t wait for his rival, Andy Schleck, when Schleck’s chain came off after an attack towards the end of Stage 15.  In the long run, it probably won’t mean very much.  Yes, Alberto did apologize on his youtube channel, and I think that’s a good thing.  Yes, he was boo’ed on the podium when he received his yellow jersey.  Yes, we all know that Schleck needed those seconds going into the time trial.  However, let’s get real for a minute.  Schleck, while very strong in the moutnains, is still no time trialing champion.  And don’t give me that shit about the TT champ of Luxemburg either… There were only 4 people competing, and that included his brother, Frank.  And since they just continue to trade the road and TT champ jersey each year, it’s not like he had much of a competition.

I’m saying all that to say this… Alberto is just better right now.  Sorry that it has to be said that way, and I really am pulling for Schleck, but face it.  It’s Alberto’s world.  He’s won the last 4 grand tours he’s been in, and the real ‘chain of events’ we need to be worried about or be talking about are how many Grand Tours he could win… in a row.

Securing a WordPress 3.0 site

Securing a WordPress 3.0 site

Ensure you have the most recent version
Upgrading to the version 3.0 (as of the date of this article) will address many security vulnerabilities, including the protection of your wp-content/plugins directory, and your wp-admin folder.  These directories in 2.x versions had security issues and as such were prime targets for attacks.  Also be sure to upgrade all of your plug-ins, where applicable.  Regardless of how many WordPress sites you may be running, or how hard it may be to upgrade 10’s or 100’s of them, it’s better than having all of their content deleted and thus having to do reinstallations anyway.

(more…)