Prototyping in C++
Introduction:
This tutorial is on how to use Function Prototyping in C/C++.
Function File:
Here is a basic function file which, after running the 'int main' function, runs a custom function named 'calculate' which returns an integer and is output to the screen.
- #include <iostream>
Using Base64 Encryption for PHP APIs
Introduction:
This tutorial is on how to use encryption to transfer data securely, or at least more seucrely than plain text, from a Visual Basic application (or other source) to a PHP API.
Why Cryptography?
Cryptography should be used for all sensitive information being used in public release applications, or if the data is sent cross-networks.
Applying inheritance in C++ programs
Applying inheritance in C++ programs
In this tutorial you will learn: 1. How to use inheritanace in program? 2. The advantages of inheritance? 3. How base and derived class functions work together? 4. C++ syntax As told before inheritance is very useful in terms of reliability and reuse of the code.MD5 in PHP [Why? How? Explained]
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++
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.Password Generator in PHP
This is a simple project on how to create a password generator in php. By clicking the "Generate Password" button, it will automatically give you an alphanumeric password combination. This example is typically used when creating a registration form. Hope you learn from this.
Arrays as Class Data Member
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.Simple Navigation Buttons
This simple program is written in Visual Studio 2010. It simply navigates and shows the content of an MS Access database through navigational buttons (next, previous and page buttons). It also demonstrates retrieving and storing an image from/to a database.
Uploading POST Data to PHP in Visual Basic.NET
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?