Author: Sumit Gupta

  • My New Computer is up and running

    After, almost 4 yrs I bought a new PC for myself. After some ups and down in assembling PC and installing Software I finally get it running. It is really fast PC to work on, and Virtual PC 2007 from Microsoft, I am really enjoying using more than one OS on my PC. Currently my…

  • Setting/Resetting Auto increment value in MSSQL 2005

    Once you create a table and what to reset autoincrement value of a table to your desire number, you need to set some system table values, which are not available for direct editing. To perform this you need to do following: SELECT OBJECT_ID,OBJECT_NAME(OBJECT_ID) AS TABLENAME, NAME AS COLUMNNAME, SEED_VALUE, INCREMENT_VALUE, LAST_VALUE, IS_NOT_FOR_REPLICATION FROM SYS.IDENTITY_COLUMNS ORDER…

  • Disclaimer for Toy website (Was originally written in 1998)

    Disclaimer follows:  (It was in red colour on website homepage, but I copy here as normal, Bold some text to highlight) Web Page is subject to change without notice; Text is slightly enlarged to show detail; Resemblance to actual persons, living or dead, is unintentional and coincidental; All models are over 18 years of age;…

  • Whois utility for Microsoft Windows

    Check this software http://www.microsoft.com/technet/sysinternals/utilities/Whois.mspx I download it, copy paste the exe in my C:\Windows\System32 and now I have new command available on my XP command prompt to find whois of domains. great work 🙂

  • POP3 Mail accessing with SSL

    I have lately create an class in PHP 4 to connect and do POP3 mailbox handling. However, that class is not able to utilize the SSL connection and hence it fails when I have to access my Gmail (Now Google Mail ) account which use SSL connection for the purpose. For this I found another…

  • Calculating distance

    With increasing use of Map service such as google, yahoo and MSN one often need to calculate distance between two location. This can be done many ways I suppose. However, to calculate the short distance we can perform calculation based on longitude and latitude values of those two location.  However, it is simply a math…

  • XML-RPC client Class for PHP

    I was looking to various classes available on net, just to learn something new and found this one really good to make a script that can work as XML-RPC client. You can use this XML-RPC client for Blooger.com, other blogging software, booking.com XML-RPC call or virtually to any XML-RPC server call. http://keithdevens.com/software/xmlrpc I use this…