MD5 in PHP [Why? How? Explained]

Submitted by Yorkiebar on
Introduction This tutorial is on using MD5 encryption in PHP. Why MD5? MD5 is built in to PHP and is only a one way encryption. This means that even if someone was able to gain access to an encrypted md5 string, called an 'MD5 Hash', it is unlikely they would be able to convert the hash back in to the original plain text string. Decryption: Decryption in most cryptography languages essentially work by using the reverse algorithm to the encryption algorithm used by the cryptography method in question.

Inheritance in C++

Submitted by moazkhan on

Inheritance in C++

In this tutorial you will learn: 1. What is inheritance? 2. What are different types of inheritance? 3. Why to use inheritance? 4. C++ syntax What is inheritance? A form of software reuse in which you create a class that absorbs an existing class’s data and behavior and enhances them with new capabilities.

Arrays as Class Data Member

Submitted by moazkhan on

Arrays as Class Data Member

In this tutorial you will learn: 1. How to make Arrays as Class Data Member? 2. Why to use arrays as attributes of the class? 3. How to make array of objects? 4. C++ syntax Arrays can also be the data members of the class, just like integer, float and other data type integers we can also define an array as the data members. Arrays are used as data members because if the user requires that the object contain a lot of information which is to be saved in the array then he will use array as the data member of the class.

Uploading POST Data to PHP in Visual Basic.NET

Submitted by Yorkiebar on
Introduction: This tutorial is on how to upload POST data to a PHP file on a web server or localhost through Visual Basic .NET. Why POST? POST is the method used to upload sensitive data such as passwords, as opposed to using the PHP GET method which will simply show all data in the URL bar; GET - http://www.website.com/page.php?password=ThisIsMyGETPassword POST - http://www.website.com/page.php Both example sites would receive the same information, but the POST one is undercover and therefore slightly more secure. Why Only Slightly More Secure?

Constant Data Members and Objects

Submitted by moazkhan on

Constant Data Members and Objects

In this tutorial you will learn: 1. What are Constant Data Members? 2. What are Constant Objects? 3. Why to use Constant Data Members and Objects? 4. How to use Constant Data Members and Objects? 5. C++ syntax What are Constant Data Members? The data members that are once initialized and can never be changed are called constant member functions. Constant member functions are just like normal data members, only ‘const’ key word is added before writing the data type of the data member of the class.

Static Data Members in C++

Submitted by moazkhan on

Static Data Members

In this tutorial you will learn: 1. What are Static Data Members? 2. Why to use Static Data Members? 3. How to use Static Data Members in program? 4. Basic C++ syntax What are Static Data Members? Static members are those data members that retain their value , whenever the static member is reused in the program. Static data members store the latest value in them so that the value will be used for next time when the function that makes use of static data member is called.