25Mar Using Associative Array In C#.NET
Associative array is very useful due to its flexibility and expandability. It can contain any data types and unlimited sub arrays. So far, .NET framework has not provide similar functionality with PHP associative array. Don’t worry, we can still do it in C#.NET by utilizing dictionary. We have to use dictionary to keep the order of array element entry. If we use hashtable, the element order will be messed up. In this article, we will show you how dictionary can support the flexibility and expandability of PHP associative array.
(more…)
28Feb MD5 Encryption In C#.NET
Do you need to hash secret values (ex:passwords) with md5 algorithm in C#.NET? Actually, .NET framework has provided this cryptography, but, you cannot use it directly like what you can do the same thing in PHP. In PHP, you just need to call md5 function. In C#.NET, you have to define the function yourself. For your information, the encrypted values will not be able to be decrypted because md5 is a one-way encryption.
(more…)
19Feb Create A Zip File And Uncompress Or Unzip A Zip File Using PHP And ZipArchive
Are you curious about PHP capability of creating a zip file and extracting/unzip/unzompress a zip file? Actually, there are some ways to do it such as using shell script or using a PHP Class Library. In this article, we will use ZipArchive which is one of PHP class libraries that handles zip compression. Here is how to use it and the sample code.
(more…)
28Jan Use Google Maps API To Enrich Your Website
Google Map API is an interface for you to put maps on your webpage. It also can be used as an input method for a user to select his address exactly on a map. So, the user does not only type in his address, city, country and other location information as we can found generally on ordinary submit forms. They mark their exact address on the map. Sounds great, isn’t it? Google map API is generally used in real estates websites to provide a more informative and readable detail.
Platform
This script can be run well using Mozilla Firefox (any version), Internet Explorer (any version), Opera and Fast Browser.
(more…)


