Here’s another function that does the reverse of the other one (CIDR 2 Decimal)
It’s a bit longer since it’s more complicated to convert the decimal value back into CIDR and make sure it’s in the correct format
This function takes in the CIDR address (/x notation) and returns it in a decimal notation (a.b.c.d)
If you’re looking for information about how CIDR works I recommend the wikipedia articles :
This code snippet demonstrates how you can enumerate all available event handlers for Windows Media Services.
Today I had a funny problem, or well I’ve run into this before but I didn’t really have the motivation to do any research on it.
Since asp/asp.net doesn’t have a form validator to check checkboxes we need to use a custom validator.
So here’s a very simple and crude way to achieve this
The 4 Guys From Rolla have an article on a more comprehensive way to do this, but if you don’t mind quick and dirty continue reading.
Their article can be found here : http://aspnet.4guysfromrolla.com/articles/092006-1.aspx
Jóhannes H. Laxdal is a specialized humanoid carbon unit whose field is computers and telling lousy jokes, it has a tendency to put "well" before every sentence it utters. In here you will find its ramblings about computer-related stuff.
Tags.net 7 8 2008 2008 R2 Administrator Administrator for web ADSI Application Pool AppPool asp.net backup BannerBitmap C# CentOS CIDR Create debian Decimal Dedicated Server Enumerate Enumerate Websites error IE 7 IIS IIS 6 install banner L4D2 Left 4 dead 2 Linux PeriodicRestartSchedule php Recycle Recycling Samba script spam Submask user-agent Website windows Windows 7 Windows 2008 R2 Windows Media Services WMS